diff --git a/modules/gpg/init.zsh b/modules/gpg/init.zsh index b969c7a..f21c8cf 100644 --- a/modules/gpg/init.zsh +++ b/modules/gpg/init.zsh @@ -29,7 +29,7 @@ fi export GPG_TTY="$(tty)" # 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