Created
July 12, 2009 18:48
-
-
Save gilesbowkett/145758 to your computer and use it in GitHub Desktop.
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
# title (from "Mac OS X For Unix Geeks") | |
set_title() { | |
case $TERM in | |
*term | xterm-color | rxvt | vt100 | gnome* ) | |
echo -n -e "\033]0;$*\007" ;; | |
*) ;; | |
esac | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment