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

6 lines
183 B
Fish

function ssh_agent_startup -d 'Start ssh agent and set env vars'
if test -z "$SSH_AUTH_SOCK"; and test -z "$SSH_AGENT_PID"
eval (ssh-agent -c) >/dev/null 2>&1
end
end