about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--profile/ssh-agent.sh2
1 files changed, 1 insertions, 1 deletions
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 @@
4if type keychain > /dev/null 2>&1; then 4if type keychain > /dev/null 2>&1; then
5 # Save directory name in a variable (for ease of maintenance) 5 # Save directory name in a variable (for ease of maintenance)
6 export KEYCHAIN_HOME="$HOME/.keychain" 6 export KEYCHAIN_HOME="$HOME/.keychain"
7 eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh) 7 eval $(keychain --eval --dir "$KEYCHAIN_HOME" --agents ssh 2>/dev/null)
8else 8else
9 eval $(ssh-agent -s) 9 eval $(ssh-agent -s)
10fi 10fi