From fb9985390e05c26d9e456b75d7b9996663101a2f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 23 Jun 2015 16:19:24 +0200 Subject: Don’t try to run gpg-agent on OSX GPGTools handles this for us, without a warning --- tag-zsh/config/zsh/zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-zsh') 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 -- cgit 1.4.1