b9056303669806be8e1e90eacfc471590c39f353
- Author
- Trevor Creech <trevor.creech@involver.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Match xterm-color, the default OS X terminal
Diff
1diff --git a/lib/functions.zsh b/lib/functions.zsh
2index fcbe994be3ef9f7a483b2b7e86e9fa5cf265bcfb..561586cba657cb274f76b6a7a87743e154f006e4 100644
3--- a/lib/functions.zsh
4+++ b/lib/functions.zsh
5@@ -5,7 +5,7 @@ function title {
6 print -nR $'\033k'$1$'\033'\\\
7
8 print -nR $'\033]0;'$2$'\a'
9- elif [[ $TERM == "xterm" || $TERM == "rxvt" ]]; then
10+ elif [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then
11 # Use this one instead for XTerms:
12 print -nR $'\033]0;'$*$'\a'
13 fi