From e020d04446663ccc74dea91330a11136d7cc8298 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 18 Dec 2017 14:15:09 +0100 Subject: [PATCH] gnupg: Suppress messages of "gpg-connect-agent" Otherwise, every startup outputs some ugly messages ... --- plugins/gnupg/gnupg.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gnupg/gnupg.zshrc b/plugins/gnupg/gnupg.zshrc index e4be678..17d6dc5 100644 --- a/plugins/gnupg/gnupg.zshrc +++ b/plugins/gnupg/gnupg.zshrc @@ -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 -- 2.39.2