]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/gnupg/gnupg.zshrc
gnupg: Suppress messages of "gpg-connect-agent"
[ax-zsh.git] / plugins / gnupg / gnupg.zshrc
index e4be6780b64cf0f30fed897c4836b11bd96b3ae8..17d6dc5b8dbcd0a706f0e1276c1c1332a299137b 100644 (file)
@@ -18,5 +18,5 @@ export GPG_TTY=$(tty)
 
 if (( $+commands[gpg-connect-agent] )); then
        # Try to start/connect the agent ...
-       gpg-connect-agent /bye
+       ( gpg-connect-agent /bye >/dev/null 2>&1 )
 fi