bashrc: define SSH_AUTH_SOCK before using
This commit is contained in:
parent
702affbf85
commit
7e1a61e606
2
bashrc
2
bashrc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user