Add ssh-agent and beg
j3s j3s@c3f.net
Thu, 22 Oct 2020 12:08:26 -0500
M
.env
→
.env
@@ -9,6 +9,14 @@ chmod 0700 "${XDG_RUNTIME_DIR}"
fi fi +if [ -z "${SSH_AGENT_PID}" ] +then + if ! [ -e /tmp/ssh-agent-$USER ] + then + ssh-agent 2>/dev/null >/tmp/ssh-agent-$USER + fi + . /tmp/ssh-agent-$USER >/dev/null +fi # launch alacritty with no GPU support if on old thinkpad if [ "$(hostname)" == 'nyx' ]; then