2 ms·
I should have clarified I’m usually looking at another tab in tmux. Any way to pop up there?
by asdfman123 4y ago
I should have clarified I’m usually looking at another tab in tmux. Any way to pop up there?
- jxf 4y agoYou 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 https://unix.stackexchange.com/a/597367/63035
- asdfman123 4y agoNice! 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.