1
0
Fork 0

gpg: fix enable-ssh-support detection

That line may be commented in the config file.
pull/1082/head
Benjamin Chrétien 9 years ago
parent 7227c4f0be
commit b2ca7a3fac

@ -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

Loading…
Cancel
Save