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 1558855..c48707a 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -66,7 +66,7 @@ then
 	eval "$(direnv hook zsh)"
 fi
 
-if [[ -s $commands[gpg-agent] ]]
+if [[ -s $commands[gpg-agent] && $os != "osx" ]]
 then
 	envfile="$HOME/.gnupg/gpg-agent.env"
 	if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then