bashrc: define SSH_AUTH_SOCK before using

This commit is contained in:
josh committed 2012-03-22 14:09:52 -04:00
1 parent 702affbf85
commit 7e1a61e606
1 file changed
+2
+2
View File
@@ -10,6 +10,8 @@ if [ -e /bin/cygwin1.dll ]; then
# cygwin ssh-agent support, from
# http://www.webweavertech.com/ovidiu/weblog/archives/000326.html
export SSH_AUTH_SOCK=/tmp/.ssh_socket
ssh-add -l 2>&1 >/dev/null
if [ $? = 2 ]; then