summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshenv
diff options
context:
space:
mode:
authorAlan Pearce2017-02-05 10:14:54 +0100
committerAlan Pearce2017-02-05 10:14:54 +0100
commit614ecb408d28794985bd96459689be97ecdf87aa (patch)
tree06ce28d3d5235c04b6428ab2bae77d1b71a5ee75 /tag-zsh/config/zsh/zshenv
parenta0219037c6eff35b09b0ec4352efff3606b5d140 (diff)
downloadnixfiles-614ecb408d28794985bd96459689be97ecdf87aa.tar.lz
nixfiles-614ecb408d28794985bd96459689be97ecdf87aa.tar.zst
nixfiles-614ecb408d28794985bd96459689be97ecdf87aa.zip
zsh: Don’t check SHLVL under X
It seems to be too inconsistent
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 e62dca5c..e75704ca 100644
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -1,4 +1,4 @@
-if [[ $SHLVL -eq 1 || (-n $DISPLAY && $SHLVL -lt 3) ]]
+if [[ $SHLVL -eq 1 || -n $DISPLAY ]]
 then
   if [[ -f $ZDOTDIR/zshenv.local ]]
   then