Last active
March 24, 2017 14:42
-
-
Save y0mbo/6998029 to your computer and use it in GitHub Desktop.
Set the title of a terminal window.
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
In .bashrc: | |
function title { | |
echo -en "\033]2;$1\007" | |
} | |
Then in your terminal type: | |
title "MyTitle" | |
See: http://askubuntu.com/questions/22413/how-to-change-gnome-terminal-title |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment