config-bash/profile.d/keychain

7 lines
98 B
Bash

#!/bin/bash
if $(which keychain &> /dev/null)
then
eval $(keychain --agents ssh,gpg --eval)
fi