Skip to content

Instantly share code, notes, and snippets.

@warseph
Created June 6, 2013 22:24
Show Gist options
  • Select an option

  • Save warseph/5725486 to your computer and use it in GitHub Desktop.

Select an option

Save warseph/5725486 to your computer and use it in GitHub Desktop.
Set iTerm's tab color
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