fish-ssh-agent/functions/__ssh_agent_start.fish

6 lines
131 B
Fish

function __ssh_agent_start
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
chmod 600 $SSH_ENV
source $SSH_ENV > /dev/null
end