Skip to content

Commit

Permalink
gpg: potential fix for sorin-ionescu#1252
Browse files Browse the repository at this point in the history
  • Loading branch information
belak authored and Erik Johansen committed Nov 9, 2022
1 parent 0bcbf2f commit 27f16a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/gpg/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ _gpg_agent_env="${XDG_CACHE_HOME:-$HOME/.cache}/prezto/gpg-agent.env"
# Load environment variables from previous run
source "$_gpg_agent_env" 2> /dev/null

# Load environment variables from previous run
source "$_gpg_agent_env" 2> /dev/null

# Start gpg-agent if not started.
if [[ -z "$GPG_AGENT_INFO" && ! -S "${GNUPGHOME:-$HOME/.gnupg}/S.gpg-agent" ]]; then
# Start gpg-agent if not started.
Expand Down

0 comments on commit 27f16a9

Please sign in to comment.