mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-02-09 08:32:17 +08:00
remove TERM_PROGRAM condition
The variable `TERM_PROGRAM` isn't being taken to the root when you change to superuser via `su - root`, even if it is set on the client: ``` SendEnv TERM_* ``` And on the server: ``` AcceptEnv TERM_* ``` As this only works for the user the session is initiated with and not for root, I suggest to remove the `$TERM_PROGRAM` condition (as oh-my-zsh does). see https://github.com/sorin-ionescu/prezto/issues/1071
This commit is contained in:
parent
7227c4f0be
commit
287a48647c
@ -17,9 +17,7 @@ fi
|
|||||||
# Auto Start
|
# Auto Start
|
||||||
#
|
#
|
||||||
|
|
||||||
if ([[ "$TERM_PROGRAM" = 'iTerm.app' ]] && \
|
if (zstyle -t ':prezto:module:tmux:iterm' integrate); then
|
||||||
zstyle -t ':prezto:module:tmux:iterm' integrate \
|
|
||||||
); then
|
|
||||||
_tmux_iterm_integration='-CC'
|
_tmux_iterm_integration='-CC'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user