summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh/zshenv')
-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 24dca14a..25476653 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)