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/930/head
Andrew Schwartzmeyer 9 years ago
parent f2a826e963
commit 20ae5fbb97
No known key found for this signature in database
GPG Key ID: D50036A9A84A216F

@ -30,6 +30,9 @@ export GPG_TTY="$(tty)"
# Integrate with the SSH module.
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.
_ssh_agent_env="$_gpg_agent_env"

Loading…
Cancel
Save