Created
September 16, 2013 15:22
-
-
Save plasticbrain/6582104 to your computer and use it in GitHub Desktop.
Update Gnome Terminal Window Title on Login
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
| Edit your .bashrc file: | |
| $ nano ~/.bashrc | |
| Add the following line, changing "New Title" to whatever you want | |
| PROMPT_COMMAND='echo -ne "\033]0;New Title\007"' | |
| NOTE: In some cases, when you switch to root or a different user, the window title may change back. If this is the case, simply add the previous line to /etc/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment