]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Set GPG_AGENT_INFO env variable manually
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 15 Nov 2016 10:37:11 +0000 (10:37 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 15 Nov 2016 10:37:11 +0000 (10:37 +0000)
bash/.bash_profile

index c408f2d146db1de4a9dd6ba4cc36447cdf9cda5c..6b6f965a718ab435c13c1b9687db65cf20b058e5 100644 (file)
@@ -15,5 +15,6 @@ fi
 
 export TMPDIR="/home/max/.local/tmp"
 
-gpg-agent --daemon --enable-ssh-support \
-  --write-env-file "${HOME}/.gpg-agent-info"
+gpg-agent --daemon
+
+export GPG_AGENT_INFO="${GNUPGHOME:-${HOME}/.gnupg}/S.gpg-agent:-1:1"