dotfiles/.config/fish/functions/ssh_agent_startup.fish

6 lines
182 B
Fish
Raw Permalink Normal View History

2020-10-31 22:24:57 +00:00
function ssh_agent_startup -d 'Start ssh agent and set env vars'
if test -z "$SSH_AUTH_SOCK"; or test -z "$SSH_AGENT_PID"
eval (ssh-agent -c) >/dev/null 2>&1
end
2020-10-31 22:24:57 +00:00
end