1
0
Fork 0

Enable iTerm integration with TMUX.

pull/717/head
Daniel Kolakowski 10 years ago
parent 6c34a3a7db
commit 99d85659e8

@ -13,6 +13,12 @@ if (( ! $+commands[tmux] )); then
return 1 return 1
fi fi
if ( [[ $TERM_PROGRAM = iTerm.app ]] && \
zstyle -t ':prezto:module:tmux:iterm' integrate \
); then
ITERM_INTEGRATION=-CC
fi
# #
# Auto Start # Auto Start
# #
@ -45,5 +51,5 @@ fi
# Aliases # Aliases
# #
alias tmuxa='tmux attach-session' alias tmuxa='tmux $ITERM_INTEGRATION attach-session'
alias tmuxl='tmux list-sessions' alias tmuxl='tmux list-sessions'

@ -152,3 +152,6 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Auto start a session when Zsh is launched in a SSH connection. # Auto start a session when Zsh is launched in a SSH connection.
# zstyle ':prezto:module:tmux:auto-start' remote 'yes' # zstyle ':prezto:module:tmux:auto-start' remote 'yes'
# Integrate iTerm with Tmux (see: https://code.google.com/p/iterm2/wiki/TmuxIntegration )
# zstyle ':prezto:module:tmux:iterm' integrate 'true'

Loading…
Cancel
Save