1
0
Fork 0

Enable iTerm integration with TMUX.

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

@ -22,18 +22,12 @@ fi
# #
# Auto Start # Auto Start
# #
ITERM_INTEGRATION=
if ([[ $TERM_PROGRAM = iTerm.app ]] && \
zstyle -t ':prezto:module:tmux:iterm' integrate \
); then
ITERM_INTEGRATION=-CC
fi
if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \ if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' remote ) || ( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' remote ) ||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \ ( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \
); then ); then
tmux start-server tmux start-server
# Create a 'prezto' session if no session has been defined in tmux.conf. # Create a 'prezto' session if no session has been defined in tmux.conf.
if ! tmux has-session 2> /dev/null; then if ! tmux has-session 2> /dev/null; then

Loading…
Cancel
Save