From: tfheen Date: Thu, 27 Mar 2008 08:42:31 +0000 (+0000) Subject: Use gpg agent if it is available X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9908aa8ef9bec3991e9dcab9804ea6e30baebe53;p=dotfiles Use gpg agent if it is available git-svn-id: file:///svn/tfheen/trunk/dotfiles@1180 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index fb3bbde..b7c668f 100644 --- a/environment +++ b/environment @@ -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