-
I work on several different machines. I like to make sure that I know which one I'm looking at. I use Linux. With some other terminal, I have a script for each machine something like this:
And that switches the terminal to a different color profile (and the connects to the machine and to tmux). I use a separate window for each host and then tmux on each of those. I would like some way to change the color of the terminal (and the color of the tab) depending on which machine I'm on. I think what I might most like is a way to have the prompt do it. Then, I can just update a shared .bash_aliases to apply it to all my machines. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Does OSC 11 work? echo -e "\e]11;#ff0000\e\\" |
Beta Was this translation helpful? Give feedback.
Does OSC 11 work?
OSC 11 ; #hex ST
e.g. to set red background: