Browse Source

Use $GNUPGHOME if it exists

master
nfnty 10 years ago committed by Sorin Ionescu
parent
commit
13d1ed160e
  1. 2
      modules/gpg/init.zsh

2
modules/gpg/init.zsh

@ -11,7 +11,7 @@ if (( ! $+commands[gpg-agent] )); then
fi fi
# Set the default paths to gpg-agent files. # 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" _gpg_agent_env="${TMPDIR:-/tmp}/gpg-agent.env"
# Start gpg-agent if not started. # Start gpg-agent if not started.

Loading…
Cancel
Save