From 48f9732054b4accda0151c869dd2b71f99ac01f2 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Mon, 12 Apr 2021 11:47:52 -0600 Subject: [PATCH] silence ssh-agent attempts --- zsh/ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/ssh b/zsh/ssh index f09e1b5..4af34d7 100644 --- a/zsh/ssh +++ b/zsh/ssh @@ -17,7 +17,7 @@ WRYN_SSH_ADD_CREDENTIALS() { [ -f "$key.pub" ] \ && echo $KEY_LIST | grep -q $(awk '{print $NF;}' $key.pub) \ || echo $KEY_LIST | grep -q $key \ - || ssh-add "$key"; + || ssh-add "$key" >/dev/null 2>&1; done }