aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/keychain.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:46:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:46:34 +1200
commit8af8a11034816f54dec1332ac43e44320db9cb48 (patch)
treef492eb4eaabbf42d434a2685947d61dbd8f61391 /sh/profile.d/keychain.sh
parentTrailing whitespace fixes (diff)
downloaddotfiles-8af8a11034816f54dec1332ac43e44320db9cb48.tar.gz
dotfiles-8af8a11034816f54dec1332ac43e44320db9cb48.zip
Improve comments on shell scripts
Diffstat (limited to 'sh/profile.d/keychain.sh')
-rw-r--r--sh/profile.d/keychain.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index 01fe8711..6ce780fb 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -1,8 +1,10 @@
-# Keychain
+# ssh-askpass setup
if command -v ssh-askpass >/dev/null; then
SSH_ASKPASS=$(which ssh-askpass)
export SSH_ASKPASS
fi
+
+# keychain setup
if command -v keychain >/dev/null; then
eval $(keychain --eval --ignore-missing --quiet id_dsa id_rsa id_ecsda)
fi