Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I should have clarified I’m usually looking at another tab in tmux. Any way to pop up there?


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


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: