From 3e852453594d6b9588a2b2df3dec26891104ba13 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 25 Feb 2021 09:33:50 -0700 Subject: [PATCH] using copy-id output instead --- zsh/ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/ssh b/zsh/ssh index feb1b2a..2c7f24b 100644 --- a/zsh/ssh +++ b/zsh/ssh @@ -12,7 +12,7 @@ WRYN_SSH_DELIMITER=' *| ' WRYN_SSH_ADD_CREDENTIALS() { for key in $(grep -slR "PRIVATE" "$HOME/.ssh"); do - ssh-add "$key" && { echo "Added $key" } || { echo "Failed to add $key" }; + ssh-add "$key"; done }