Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
asdfman123
on April 23, 2023
|
parent
|
context
|
favorite
| on:
My shell setup with Fish and Tmux (2021)
I should have clarified I’m usually looking at another tab in tmux. Any way to pop up there?
jxf
on April 23, 2023
[–]
You can ask tmux to update the window status — for instance to show red or green based on the exit code of the last command. Example here:
https://unix.stackexchange.com/a/597367/63035
asdfman123
on April 24, 2023
|
parent
[–]
Nice! I was able to do just that, with a solution like the one you wrote, except I'm grepping a local (instead of remote) log, and changing the status bar color based on log output.
Was exactly what I wanted, thanks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: