Last active
October 21, 2015 01:07
-
-
Save hotwatermorning/711e37777d246f16762d to your computer and use it in GitHub Desktop.
Naming terminal tabs in osx lion
This file contains 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
# http://thelucid.com/2012/01/04/naming-your-terminal-tabs-in-osx-lion/ | |
function tabname { | |
printf "\e]1;$1\a" | |
} | |
function winname { | |
printf "\e]2;$1\a" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment