diff options
author | Alan Pearce | 2015-08-14 07:52:18 +0200 |
---|---|---|
committer | Alan Pearce | 2015-08-14 07:52:18 +0200 |
commit | e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8 (patch) | |
tree | cda2fc621c489a2c9810eed52766170260a2066e /tag-zsh | |
parent | 08f6ecdbeda886afef83cb87ddd3f447a0359927 (diff) | |
download | dotfiles-e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8.tar.lz dotfiles-e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8.tar.zst dotfiles-e3dbc96fa26da0a80d27a4884ae5cb86b15d96d8.zip |
zsh: Don’t try to init GPG agent
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 |