all repos — nixfiles @ a8dec38180ea0fc6f9b509b32c1963a220c829c1

System and user configuration, managed by nix and home-manager

zsh: Fix zsh envvars in X11 terminals

Alan Pearce
commit

a8dec38180ea0fc6f9b509b32c1963a220c829c1

parent

d572253f235621e4575d9328232d76eefce20a0f

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M tag-zsh/config/zsh/zshenvtag-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