aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/keychain.sh
blob: e5d46a415cb2e12a0019a1a1dba257658810a07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# ssh-askpass setup
[ -n "${SSH_ASKPASS:="$(command -v ssh-askpass 2>&1)"}" ] &&
    export SSH_ASKPASS

# keychain setup
if command -v keychain >/dev/null 2>&1 ; then

    # Run keychain as quickly and quietly as possible
    eval "$(TERM=${TERM:-ansi} keychain \
        --eval --ignore-missing --quick --quiet \
        id_dsa id_rsa id_ecsda)"
fi