Enable iTerm integration with TMUX.
This commit is contained in:
parent
99d85659e8
commit
faefb851bc
1 changed files with 1 additions and 7 deletions
|
@ -22,18 +22,12 @@ fi
|
|||
#
|
||||
# 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" ]] && ( \
|
||||
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' remote ) ||
|
||||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:tmux:auto-start' local ) \
|
||||
); then
|
||||
tmux start-server
|
||||
tmux start-server
|
||||
|
||||
# Create a 'prezto' session if no session has been defined in tmux.conf.
|
||||
if ! tmux has-session 2> /dev/null; then
|
||||
|
|
Loading…
Add table
Reference in a new issue