Browse Source

Simplify multiplexer auto-start tests

master
Sorin Ionescu 10 years ago
parent
commit
10cf701864
  1. 2
      modules/screen/init.zsh
  2. 2
      modules/tmux/init.zsh

2
modules/screen/init.zsh

@ -15,7 +15,7 @@ fi @@ -15,7 +15,7 @@ fi
# Auto Start
#
if [[ -z "$STY" && ( -z "$INSIDE_EMACS" || -z "$EMACS" || -z "$VIM" ) ]] && ( \
if [[ -z "$STY" && -z "$EMACS" && -z "$VIM" ]] && ( \
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' remote ) ||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' local ) \
); then

2
modules/tmux/init.zsh

@ -16,7 +16,7 @@ fi @@ -16,7 +16,7 @@ fi
# Auto Start
#
if [[ -z "$TMUX" && ( -z "$INSIDE_EMACS" || -z "$EMACS" || -z "$VIM" ) ]] && ( \
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

Loading…
Cancel
Save