diff options
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -29,5 +29,11 @@ if [ -d /usr/lib/ccontrol ]; then fi #DISTCC_HOSTS="localhost 192.168.222.252" -eval `keychain --eval --ignore-missing id_rsa C1A00121` -ssh-add -L | grep -q @ || monkeysphere subkey-to-ssh-agent +if [ -x /usr/bin/keychain ]; then + eval `keychain --eval --ignore-missing id_rsa C1A00121` +else + gpg-connect-agent /bye +fi +if [ -x /usr/bin/monkeysphere ]; then + ssh-add -L | grep -q @ || monkeysphere subkey-to-ssh-agent +fi |