Skip to content

Commit

Permalink
Use $GNUPGHOME if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
RIT80 committed Nov 22, 2014
1 parent 4be1bc8 commit f243cf8
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 f243cf8

Please sign in to comment.