From 85312fa35b671df89887aa5c09aeb29b01d3e30a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 13 Mar 2022 05:31:44 +0000 Subject: Silence keychain --- profile/ssh-agent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile/ssh-agent.sh') diff --git a/profile/ssh-agent.sh b/profile/ssh-agent.sh index 8e478c2..acd65a4 100644 --- a/profile/ssh-agent.sh +++ b/profile/ssh-agent.sh @@ -4,7 +4,7 @@ if type keychain > /dev/null 2>&1; then # Save directory name in a variable (for ease of maintenance) export KEYCHAIN_HOME="$HOME/.keychain" - eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh) + eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh 2>/dev/null) else eval $(ssh-agent -s) fi -- cgit 1.4.1-21-gabe81