summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshenv11
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