]> err.no Git - dotfiles/commitdiff
Try harder to find the gpg agent
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Apr 2008 07:57:32 +0000 (07:57 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Apr 2008 07:57:32 +0000 (07:57 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1212 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index b7c668f7a02656ad330aca2289e8db9a48c8bf6c..da1d99b9651d8232f752f44fa41e44c60e68813e 100644 (file)
@@ -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