diff --git a/.config/fish/conf.d/20-gpg.fish b/.config/fish/conf.d/20-gpg.fish index d5bd1f8..870d96f 100644 --- a/.config/fish/conf.d/20-gpg.fish +++ b/.config/fish/conf.d/20-gpg.fish @@ -1,6 +1,6 @@ #!/usr/bin/env fish -if test command -v gpgconf &>/dev/null +if test "$(command -v gpgconf &>/dev/null)" set -gx GPG_TTY (tty) gpgconf --launch gpg-agent end