diff options
author | Alan Pearce | 2017-02-05 10:14:54 +0100 |
---|---|---|
committer | Alan Pearce | 2017-02-05 10:14:54 +0100 |
commit | 614ecb408d28794985bd96459689be97ecdf87aa (patch) | |
tree | 06ce28d3d5235c04b6428ab2bae77d1b71a5ee75 /tag-zsh | |
parent | a0219037c6eff35b09b0ec4352efff3606b5d140 (diff) | |
download | nixfiles-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')
-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 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 |