1
0
Fork 0

Use $GNUPGHOME if it exists

pull/731/head
nfnty 10 years ago
parent 2a33581e80
commit 6ca1ca1c05

@ -11,7 +11,7 @@ if (( ! $+commands[gpg-agent] )); then
fi
# Set the default paths to gpg-agent files.
_gpg_agent_conf="$HOME/.gnupg/gpg-agent.conf"
_gpg_agent_conf="${GNUPGHOME:-$HOME/.gnupg}/gpg-agent.conf"
_gpg_agent_env="${TMPDIR:-/tmp}/gpg-agent.env"
# Start gpg-agent if not started.

Loading…
Cancel
Save