1
0
Fork 0

Load add-zsh-hook in GPG module

Fixes this error:

    ~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook
pull/1202/head
Andrew Schwartzmeyer 9 years ago committed by Papa Sall
parent 4eabb96520
commit 606b064790

@ -30,6 +30,9 @@ export GPG_TTY="$(tty)"
# Integrate with the SSH module. # Integrate with the SSH module.
if grep 'enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then if grep 'enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
# Load required functions.
autoload -Uz add-zsh-hook
# Override the ssh-agent environment file default path. # Override the ssh-agent environment file default path.
_ssh_agent_env="$_gpg_agent_env" _ssh_agent_env="$_gpg_agent_env"

Loading…
Cancel
Save