I'd like to automatically set a terminal tab's color when certain things happen, like when I run teamocil
, ssh
or other programs.
I know how to watch the .bash_history file. But I don't know how to programmatically change the tab color. Is there a way?