diff options
author | Sebastian Reichel <sre@ring0.de> | 2011-08-19 02:30:20 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2011-08-19 02:30:20 +0200 |
commit | eb092945ba6658efad28f6fba99c26447ab17a62 (patch) | |
tree | ff6dec6e02831872cdb43ee1a57d8c482c053e6f | |
parent | 203f8af2b0ac7fad5c63a7c1a1bccb224bdeef7d (diff) | |
download | zsh-config-eb092945ba6658efad28f6fba99c26447ab17a62.tar.bz2 |
update title function for xterm-256color
-rw-r--r-- | zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ export PATH=$PATH:/usr/sbin:/sbin:/var/lib/gems/1.8/bin # function to set terminal title title() { - if [[ $TERM == "xterm" || $TERM == "rxvt" || $TERM == "screen" ]]; then + if [[ $TERM == "xterm" || $TERM == "xterm-256color" || $TERM == "rxvt" || $TERM == "screen" ]]; then print -Pn "\e]2;$*\a" fi } |