Commit 7ab4d30f authored by Robby Russell's avatar Robby Russell
Browse files

Merge branch 'title-fix' of http://github.com/philips/oh-my-zsh into philips-title-fix

parents 061ea5c7 aab235f6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment