Permalink
Browse files

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.
  • Loading branch information...
2 parents de8bcef + fb3dc24 commit 8fea507b5c8e2927f99fc5673389aea50589dcac @robbyrussell committed Apr 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/termsupport.zsh
View
@@ -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

0 comments on commit 8fea507

Please sign in to comment.