Created
October 24, 2011 08:30
-
-
Save mmichaelis/1308586 to your computer and use it in GitHub Desktop.
Function to change Linux Terminal Tab Title (e. g. for gnome terminal)
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
| #!/bin/bash | |
| function title() { | |
| local s="${1}" | |
| echo -ne "\033]0;${s}\007" | |
| } | |
| title "${1}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment