diff options
-rw-r--r-- | tag-zsh/config/zsh/zshenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 98050a0d..6c3721f8 100644 --- a/tag-zsh/config/zsh/zshenv +++ b/tag-zsh/config/zsh/zshenv @@ -1,4 +1,4 @@ -if [[ $SHLVL = 1 ]] +if [[ $SHLVL -eq 1 || (-n $DISPLAY && $SHLVL -lt 3) ]] then if [[ -f $ZDOTDIR/zshenv.local ]] then |