diff options
Diffstat (limited to 'tag-zsh')
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 11 |
1 files changed, 0 insertions, 11 deletions
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 |