|
|
@ -20,7 +20,7 @@ if [[ -z "$TMUX" && ( -z "$INSIDE_EMACS" || -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_session='#Prezto'
|
|
|
|
tmux_session='prezto'
|
|
|
|
|
|
|
|
|
|
|
|
if ! tmux has-session -t "$tmux_session" 2> /dev/null; then
|
|
|
|
if ! tmux has-session -t "$tmux_session" 2> /dev/null; then
|
|
|
|
# Ensure that tmux server is started.
|
|
|
|
# Ensure that tmux server is started.
|
|
|
|