Created
June 6, 2013 22:24
-
-
Save warseph/5725486 to your computer and use it in GitHub Desktop.
Set iTerm's tab color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function tab_color -d "Sets the tab color in iterm" | |
| bash -c "echo -e '\033]6;1;bg;red;brightness;$argv[1]\a \033]6;1;bg;green;brightness;$argv[2]\a \033]6;1;bg;blue;brightness;$argv[3]\a'" | |
| end | |
| #e.g. tab_color 164 205 56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment