summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2010-09-30 22:23:50 -0600
committerNanoTech <nanotech008@gmail.com>2010-09-30 22:23:50 -0600
commit02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7 (patch)
tree2c44274cce756577225ab895d04f004231a04e25 /lib/functions.zsh
parent8c419ae3b5b77a24485c6a68e6af1a0384db67a8 (diff)
parent7a09175bb4c32c7027dab872cd7b80503da3f5d5 (diff)
downloadzsh-02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7.tar.gz
zsh-02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7.tar.bz2
zsh-02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r--lib/functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index fcbe994be..561586cba 100644
--- a/lib/functions.zsh
+++ b/lib/functions.zsh
@@ -5,7 +5,7 @@ function title {
print -nR $'\033k'$1$'\033'\\\
print -nR $'\033]0;'$2$'\a'
- elif [[ $TERM == "xterm" || $TERM == "rxvt" ]]; then
+ elif [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then
# Use this one instead for XTerms:
print -nR $'\033]0;'$*$'\a'
fi