summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh/zshenv')
-rw-r--r--tag-zsh/config/zsh/zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index 98050a0..6c3721f 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