From d7f52ca8119c92c7becd297ef80951bcbce5f86f Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 25 Apr 2015 23:11:31 -0400 Subject: [PATCH] tmux: Attach only to the prezto session --- modules/tmux/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tmux/init.zsh b/modules/tmux/init.zsh index 070abca..4de498a 100644 --- a/modules/tmux/init.zsh +++ b/modules/tmux/init.zsh @@ -37,8 +37,8 @@ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \ set-option -t "$tmux_session" destroy-unattached off &> /dev/null fi - # Attach to the 'prezto' session or to the last session used. - exec tmux $_tmux_iterm_integration attach-session + # Attach only to the prezto session + exec tmux $_tmux_iterm_integration new-session -A -s prezto fi #