summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2011-08-19 02:30:20 +0200
committerSebastian Reichel <sre@ring0.de>2011-08-19 02:30:20 +0200
commiteb092945ba6658efad28f6fba99c26447ab17a62 (patch)
treeff6dec6e02831872cdb43ee1a57d8c482c053e6f
parent203f8af2b0ac7fad5c63a7c1a1bccb224bdeef7d (diff)
downloadzsh-config-eb092945ba6658efad28f6fba99c26447ab17a62.tar.bz2
update title function for xterm-256color
-rw-r--r--zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 8c5774d..fcca30b 100644
--- a/zshrc
+++ b/zshrc
@@ -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
}