diff options
author | Sven Lito <me@svenlito.com> | 2010-10-09 18:56:51 +0100 |
---|---|---|
committer | Sven Lito <me@svenlito.com> | 2010-10-09 18:56:51 +0100 |
commit | 8bef74081e9dda6e1d6c5854c2fcedb9145031ba (patch) | |
tree | 83b0adc4084a0c4d3948a34d21796dab9e811d69 /lib/functions.zsh | |
parent | 425b0ef89fcd40b6b235347e32d8efd44709a802 (diff) | |
parent | df126ef5ba7461fb227a0fa39c3d416d94b08931 (diff) | |
download | zsh-8bef74081e9dda6e1d6c5854c2fcedb9145031ba.tar.gz zsh-8bef74081e9dda6e1d6c5854c2fcedb9145031ba.tar.bz2 zsh-8bef74081e9dda6e1d6c5854c2fcedb9145031ba.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
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 |