aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/keychain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/keychain.sh')
-rw-r--r--sh/profile.d/keychain.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index e5d46a41..66c23d32 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -3,10 +3,7 @@
export SSH_ASKPASS
# keychain setup
-if command -v keychain >/dev/null 2>&1 ; then
-
- # Run keychain as quickly and quietly as possible
+command -v keychain >/dev/null 2>&1 &&
eval "$(TERM=${TERM:-ansi} keychain \
--eval --ignore-missing --quick --quiet \
id_dsa id_rsa id_ecsda)"
-fi