mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-01 01:31:13 +00:00
[tmux] Avoid run tmux when the shell is executed on emacs
This avoid weird bugs to try running zsh through C-x M-x and bug happens because obviously tmux is not designed to be executed inside emacs.
This commit is contained in:
parent
25d8db301d
commit
6d5650eae7
@ -23,7 +23,7 @@ if ([[ "$TERM_PROGRAM" = 'iTerm.app' ]] && \
|
|||||||
_tmux_iterm_integration='-CC'
|
_tmux_iterm_integration='-CC'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" ]] && ( \
|
if [[ -z "$TMUX" && -z "$EMACS" && -z "$VIM" && -z "$INSIDE_EMACS" ]] && ( \
|
||||||
( [[ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user