Created
May 31, 2012 21:25
-
-
Save mdigital/2846413 to your computer and use it in GitHub Desktop.
.bash_profile function to name your terminal windows
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
function st { | |
title=$1; | |
echo -e "\033];${title}\007"; | |
} |
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
Insert this snippet into your profile then when in iTerm2 you can just type: | |
st "python console" | |
To set the tab or window title for the current session. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment