summary refs log tree commit diff stats
path: root/tag-zsh/config
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
parenta0219037c6eff35b09b0ec4352efff3606b5d140 (diff)
downloaddotfiles-614ecb408d28794985bd96459689be97ecdf87aa.tar.lz
dotfiles-614ecb408d28794985bd96459689be97ecdf87aa.tar.zst
dotfiles-614ecb408d28794985bd96459689be97ecdf87aa.zip
zsh: Don’t check SHLVL under X
It seems to be too inconsistent
Diffstat (limited to 'tag-zsh/config')
-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 e62dca5..e75704c 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