2 ms·
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.stackex
by jxf 3y ago
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 https://unix.stackexchange.com/a/597367/63035
- asdfman123 3y 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.