diff options
author | Robby Russell <robby@planetargon.com> | 2013-04-23 20:04:08 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-04-23 20:04:08 -0700 |
commit | 8fea507b5c8e2927f99fc5673389aea50589dcac (patch) | |
tree | 09a1b0d0a782b46a2119be5ed78a1c5a6cc14874 /lib/termsupport.zsh | |
parent | de8bcef476ef14ff2ad3a57bc8890110d446667f (diff) | |
parent | fb3dc24ff4aac55c5cb0cd4e448b26f223a68957 (diff) | |
download | zsh-8fea507b5c8e2927f99fc5673389aea50589dcac.tar.gz zsh-8fea507b5c8e2927f99fc5673389aea50589dcac.tar.bz2 zsh-8fea507b5c8e2927f99fc5673389aea50589dcac.zip |
Merge pull request #1608 from swanandp/m_lion_terminal_same_tab_support
Mountain Lion Terminal App: Support for opening tabs and windows in the same folder.
Diffstat (limited to 'lib/termsupport.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 c056989eb..e3828da14 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -8,7 +8,7 @@ function title { fi if [[ "$TERM" == screen* ]]; then print -Pn "\ek$1:q\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 == ansi ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then print -Pn "\e]2;$2:q\a" #set window name print -Pn "\e]1;$1:q\a" #set icon (=tab) name (will override window name on broken terminal) fi |