bashrc: define SSH_AUTH_SOCK before using

This commit is contained in:
Josh Holtrop 2012-03-22 14:09:52 -04:00
parent 702affbf85
commit 7e1a61e606

2
bashrc
View File

@ -10,6 +10,8 @@ if [ -e /bin/cygwin1.dll ]; then
# cygwin ssh-agent support, from # cygwin ssh-agent support, from
# http://www.webweavertech.com/ovidiu/weblog/archives/000326.html # http://www.webweavertech.com/ovidiu/weblog/archives/000326.html
export SSH_AUTH_SOCK=/tmp/.ssh_socket
ssh-add -l 2>&1 >/dev/null ssh-add -l 2>&1 >/dev/null
if [ $? = 2 ]; then if [ $? = 2 ]; then