Skip to content

Commit

Permalink
Use $GNUPGHOME if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
nfnty authored and sorin-ionescu committed Nov 22, 2014
1 parent 2a33581 commit 13d1ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gpg/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 13d1ed1

Please sign in to comment.