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

# keychain setup
command -v keychain >/dev/null 2>&1 &&
    eval "$(TERM=${TERM:-ansi} keychain \
        --eval --ignore-missing --quick --quiet \
        id_dsa id_rsa id_ecsda)"