Add support for iTerm2's Tmux integration

This should resolve #52.
This commit is contained in:
2014-12-01 21:01:58 +00:00
parent 6f98020309
commit 41da75ad39
3 changed files with 23 additions and 2 deletions

View File

@@ -323,7 +323,8 @@ __get_current_window_index() {
__go_to_session() {
if [ -z "$TMUX" ]; then
tmuxifier-tmux -u attach-session -t "$session:"
tmuxifier-tmux $TMUXIFIER_TMUX_ITERM_ATTACH -u \
attach-session -t "$session:"
else
tmuxifier-tmux -u switch-client -t "$session:"
fi