diff options
author | Robby Russell <robby@planetargon.com> | 2010-10-09 09:55:52 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2010-10-09 09:55:52 -0700 |
commit | 7ab4d30fe17ba2fc4125685d393a2bd2671b5d5e (patch) | |
tree | 7343ab24564fb4c4d211a21cb050d80a08f7dbb8 /lib/functions.zsh | |
parent | 061ea5c7c98ada295ae4623692e6811c0baab88d (diff) | |
parent | aab235f6121a93b81a425d522a0c7f2aaac946bd (diff) | |
download | zsh-7ab4d30fe17ba2fc4125685d393a2bd2671b5d5e.tar.gz zsh-7ab4d30fe17ba2fc4125685d393a2bd2671b5d5e.tar.bz2 zsh-7ab4d30fe17ba2fc4125685d393a2bd2671b5d5e.zip |
Merge branch 'title-fix' of http://github.com/philips/oh-my-zsh into philips-title-fix
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r-- | lib/functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh index 561586cba..e494f1f4d 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 |