diff options
author | NanoTech <nanotech008@gmail.com> | 2010-10-19 15:39:27 -0600 |
---|---|---|
committer | NanoTech <nanotech008@gmail.com> | 2010-10-19 15:39:27 -0600 |
commit | 68f893cbe05e5a84adf7f26a0ed7492af6e03def (patch) | |
tree | 81b436518d3552f47a02f44963e84700627d1bec /lib/functions.zsh | |
parent | 02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7 (diff) | |
parent | dc12853b0c3e5af9e42f44cb9efdf57d44d20711 (diff) | |
download | zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.gz zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.bz2 zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r-- | lib/functions.zsh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh index 561586cba..e3c0de43e 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 @@ -37,4 +37,3 @@ function take() { mkdir -p $1 cd $1 } - |