From a8dec38180ea0fc6f9b509b32c1963a220c829c1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 14 Jul 2016 18:17:18 +0200 Subject: zsh: Fix zsh envvars in X11 terminals --- tag-zsh/config/zsh/zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1