]> err.no Git - dotfiles/commitdiff
Use gpg agent if it is available
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 27 Mar 2008 08:42:31 +0000 (08:42 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 27 Mar 2008 08:42:31 +0000 (08:42 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1180 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index fb3bbde8e5eaf12ae0da98d9b01c5055fa1d804d..b7c668f7a02656ad330aca2289e8db9a48c8bf6c 100644 (file)
@@ -254,3 +254,7 @@ export LS_OPTIONS CVSROOT EDITOR TZ WWW_HOME LESSOPEN LESS RSYNC_RSH
 export CVS_RSH PILOTPORT PILOTRATE LANG DEBEMAIL CVSEDITOR ldlib
 export HOSTNAME DOMAINNAME PATH EMAIL XTERM SVN_EDITOR GNUSTEP_USER_ROOT
 export GREP_OPTIONS OOO_DISABLE_RECOVERY
+
+if [ -f "$HOME/.gnupg/gpg-agent-info-$HOSTNAME" ]; then
+    . "$HOME/.gnupg/gpg-agent-info-$HOSTNAME"
+fi