Add function to re-source the gnupg environment.

This commit is contained in:
David Tomaschik
2016-02-10 13:48:12 -08:00
parent 7bdcfdf18a
commit ab6b1784bd

View File

@@ -0,0 +1,6 @@
function source_gnupg {
GPG_ENV=${HOME}/.gnupg/gpg-agent.env
if test -f ${GPG_ENV} ; then
eval $(sed 's/^/export /' ${GPG_ENV})
fi
}