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.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index e4733aff..cde71792 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -1,16 +1,16 @@
# ssh-askpass setup
-if command -v ssh-askpass >/dev/null 2>&1; then
+if command -v ssh-askpass >/dev/null 2>&1 ; then
SSH_ASKPASS=$(command -v ssh-askpass)
export SSH_ASKPASS
fi
# keychain setup
-if command -v keychain >/dev/null 2>&1; then
+if command -v keychain >/dev/null 2>&1 ; then
eval "$(TERM=${TERM:-ansi} keychain \
--eval --ignore-missing --quiet id_dsa id_rsa id_ecsda)"
# Set and export TTY/GPG_TTY for interactive shells
- if [ -t 0 ]; then
+ if [ -t 0 ] ; then
GPG_TTY=$(tty)
export GPG_TTY
fi