diff options
author | Alan Pearce | 2016-07-14 18:17:18 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-14 18:20:43 +0200 |
commit | a8dec38180ea0fc6f9b509b32c1963a220c829c1 (patch) | |
tree | 64af0ae2ad4e5419117693c89a8822fb25cce8c7 /tag-zsh/config/zsh/zshenv | |
parent | d572253f235621e4575d9328232d76eefce20a0f (diff) | |
download | nixfiles-a8dec38180ea0fc6f9b509b32c1963a220c829c1.tar.lz nixfiles-a8dec38180ea0fc6f9b509b32c1963a220c829c1.tar.zst nixfiles-a8dec38180ea0fc6f9b509b32c1963a220c829c1.zip |
zsh: Fix zsh envvars in X11 terminals
Diffstat (limited to 'tag-zsh/config/zsh/zshenv')
-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 98050a0d..6c3721f8 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 |