From c6d7e1caac4e07e3a754492e0b4d606a27710458 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 14 Apr 2014 08:31:50 -0400 Subject: [PATCH] bash_aliases: in cygwin, always set SSH_AUTH_SOCK --- bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_aliases b/bash_aliases index 88f808b..ffd3be9 100755 --- a/bash_aliases +++ b/bash_aliases @@ -295,13 +295,13 @@ if [[ -e /bin/cygwin1.dll ]]; then winpath="$(echo $PATH | sed -e 's/:/\n/g' | grep cygdrive | tr '\n' ':' | sed -e 's/:*$//')" + export SSH_AUTH_SOCK=/tmp/.ssh_socket + function ssh_agent_start { # cygwin ssh-agent support, from # http://www.webweavertech.com/ovidiu/weblog/archives/000326.html - export SSH_AUTH_SOCK=/tmp/.ssh_socket - ssh-add -l >/dev/null 2>&1 if [ $? = 2 ]; then