Created
March 21, 2013 05:58
-
-
Save mapix/5210977 to your computer and use it in GitHub Desktop.
Reset gnome-terminal title when ssh exit
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
| update_title() { | |
| xtitle --title "$USER@$HOSTNAME ${PWD/#$HOME/~}" | |
| } | |
| PROMPT_COMMAND="update_title" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment