diff options
author | Fredrik Appelberg <fredrik.appelberg@scanpix.se> | 2011-03-07 14:36:36 +0100 |
---|---|---|
committer | Fredrik Appelberg <fredrik.appelberg@scanpix.se> | 2011-03-07 14:36:36 +0100 |
commit | da0cc3701e75e2c8be07ee4eb0dc6b1b68e3fa06 (patch) | |
tree | 3abaf12d557efc50268cd45901399c3a7904cd50 | |
parent | 0664370f80a6a3c80686a427bdc6226822bb5408 (diff) | |
parent | d807221f607cc7ef02e17a9aa60b1f5f18a886ab (diff) | |
download | zsh-da0cc3701e75e2c8be07ee4eb0dc6b1b68e3fa06.tar.gz zsh-da0cc3701e75e2c8be07ee4eb0dc6b1b68e3fa06.tar.bz2 zsh-da0cc3701e75e2c8be07ee4eb0dc6b1b68e3fa06.zip |
Merge branch 'master' of git@github.com:fred-o/oh-my-zsh
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index e1e536690..d7c2b9def 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -5,7 +5,7 @@ function title { if [[ "$TERM" == "screen" ]]; then print -Pn "\ek$1\e\\" #set screen hardstatus, usually truncated at 20 chars - elif [[ ($TERM =~ "^xterm") ]] || [[ ($TERM == "rxvt") ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then + elif [[ ("$TERM" =~ "^xterm") ]] || [[ ("$TERM" == "rxvt") ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then print -Pn "\e]2;$2\a" #set window name print -Pn "\e]1;$1\a" #set icon (=tab) name (will override window name on broken terminal) fi |