Skip to content

Instantly share code, notes, and snippets.

@plasticbrain
Created September 16, 2013 15:22
Show Gist options
  • Select an option

  • Save plasticbrain/6582104 to your computer and use it in GitHub Desktop.

Select an option

Save plasticbrain/6582104 to your computer and use it in GitHub Desktop.
Update Gnome Terminal Window Title on Login
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