From e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 14 Aug 2015 07:52:18 +0200 Subject: zsh: Don’t try to init GPG agent --- tag-zsh/config/zsh/zshenv | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tag-zsh/config/zsh') diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 1084ede..ab063a1 100755 --- a/tag-zsh/config/zsh/zshenv +++ b/tag-zsh/config/zsh/zshenv @@ -65,14 +65,3 @@ if [[ -s $commands[direnv] ]] then eval "$(direnv hook zsh)" fi - -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 - eval "$(cat "$envfile")" - else - eval "$(gpg-agent --daemon --write-env-file "$envfile")" - fi - export GPG_AGENT_INFO # the env file does not contain the export statement -fi -- cgit 1.4.1