summaryrefslogtreecommitdiff
path: root/.config/login.d/10_gpg.sh
blob: cf3c88c8d1c13f3cfa58fab19c0a792c3c0d4b31 (plain)
1
2
3
if [[ -z $GPGKEY ]] && [[ -f "${HOME}/.gnupg/gpg.conf" ]]; then
	export GPGKEY=`sed -nr 's/^\s*default-key\s+//p' "${GNUPG_HOME:-${HOME}/.gnupg}/gpg.conf"`
fi