summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index 25476653..3572571f 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -50,7 +50,7 @@ then
 	eval "$(direnv hook zsh)"
 fi
 
-if [[ $os == gnu && -z $SSH_AUTH_SOCK && -s $commands[envoy] ]]
+if [[ $os == gnu && ! -S $SSH_AUTH_SOCK && -s $commands[envoy] ]]
 then
 	envoy -t gpg-agent
 	eval $(envoy -p)