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/config | |
parent | a0219037c6eff35b09b0ec4352efff3606b5d140 (diff) | |
download | dotfiles-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/zshenv | 2 |
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 |