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;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"