all repos — nixfiles @ e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8

System and user configuration, managed by nix and home-manager

zsh: Don’t try to init GPG agent

Alan Pearce
commit

e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8

parent

08f6ecdbeda886afef83cb87ddd3f447a0359927

1 file changed, 0 insertions(+), 11 deletions(-)

jump to
M tag-zsh/config/zsh/zshenvtag-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