tmux: Attach only to the prezto session
This commit is contained in:
parent
978fd3f4ce
commit
d7f52ca811
@ -37,8 +37,8 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
|
|||||||
set-option -t "$tmux_session" destroy-unattached off &> /dev/null
|
set-option -t "$tmux_session" destroy-unattached off &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Attach to the 'prezto' session or to the last session used.
|
# Attach only to the prezto session
|
||||||
exec tmux $_tmux_iterm_integration attach-session
|
exec tmux $_tmux_iterm_integration new-session -A -s prezto
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user