summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 24dca14..2547665 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 && -s $commands[envoy] ]]
+if [[ $os == gnu && -z $SSH_AUTH_SOCK && -s $commands[envoy] ]]
 then
 	envoy -t gpg-agent
 	eval $(envoy -p)