fix ssh_{env,agent} vars

This commit is contained in:
matt hamilton 2015-12-23 08:57:13 +00:00
parent d6e2e24c17
commit 4acb1660f4

View File

@ -14,8 +14,8 @@ if [[ ${TMPDIR} ]]; then
else
# create a sane tmp dir at /tmp/username
mkdir -p /tmp/${USER}
local ssh_env=/tmp/${USER}
local ssh_sock=/tmp/${USER}
local ssh_env=/tmp/${USER}/ssh-agent.env
local ssh_sock=/tmp/${USER}/ssh-agent.sock
fi
# start ssh-agent if not already running