From: Maximilian Friedersdorff Date: Tue, 15 Nov 2016 10:37:11 +0000 (+0000) Subject: Set GPG_AGENT_INFO env variable manually X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=db3682a790a5380ae017b587df637873105121f0;hp=64db28dc435c08cac37bb8824602f84c02eb2c36;p=max%2Fdotfiles.git Set GPG_AGENT_INFO env variable manually --- diff --git a/bash/.bash_profile b/bash/.bash_profile index c408f2d..6b6f965 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -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"