From 7e1a61e606607cd8a1d08af9f7731a3f7f938f7a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 22 Mar 2012 14:09:52 -0400 Subject: [PATCH] bashrc: define SSH_AUTH_SOCK before using --- bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashrc b/bashrc index f2f5c41..788f6a0 100755 --- a/bashrc +++ b/bashrc @@ -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