From db48a22c741cc553da0e0699955ffe3952efd43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Chr=C3=A9tien?= Date: Thu, 11 Feb 2016 21:35:09 +0900 Subject: [PATCH] gpg: fix enable-ssh-support detection That line may be commented in the config file. --- modules/gpg/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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