mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-06-20 05:05:35 +00:00
6 lines
210 B
Fish
6 lines
210 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"; and test -z "$SSH_CLIENT"
|
|
eval (ssh-agent -c) >/dev/null 2>&1
|
|
end
|
|
end
|