Make keychain config more portable.
This commit is contained in:
parent
ee62ce2414
commit
90330bdc63
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user