From: tfheen Date: Wed, 16 Apr 2008 07:57:32 +0000 (+0000) Subject: Try harder to find the gpg agent X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899ab3b1cbc73e03d4fb0f7d530586794a2c228d;p=dotfiles Try harder to find the gpg agent git-svn-id: file:///svn/tfheen/trunk/dotfiles@1212 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index b7c668f..da1d99b 100644 --- a/environment +++ b/environment @@ -257,4 +257,6 @@ export GREP_OPTIONS OOO_DISABLE_RECOVERY if [ -f "$HOME/.gnupg/gpg-agent-info-$HOSTNAME" ]; then . "$HOME/.gnupg/gpg-agent-info-$HOSTNAME" +elif [ -f "$HOME/.gnupg/gpg-agent-info-$(hostname)" ]; then + . "$HOME/.gnupg/gpg-agent-info-$(hostname)" fi