Make keychain config more portable.

This commit is contained in:
Ryan Cavicchioni 2014-09-02 21:34:58 -05:00
parent ee62ce2414
commit 90330bdc63

View File

@ -23,7 +23,7 @@ fi
PATH=/usr/local/bin:$PATH PATH=/usr/local/bin:$PATH
if [ -e "/usr/bin/keychain" ]; then if [ -e `which keychain` ]; then
# load SSH key # load SSH key
keychain --timeout 240 ~/.ssh/id_rsa keychain --timeout 240 ~/.ssh/id_rsa
source ~/.keychain/$HOSTNAME-sh source ~/.keychain/$HOSTNAME-sh