fish-ssh-agent/functions/__ssh_agent_start.fish

6 lines
158 B
Fish
Raw Normal View History

function __ssh_agent_start -d "start a new ssh agent"
2015-11-04 12:34:14 +00:00
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
chmod 600 $SSH_ENV
source $SSH_ENV > /dev/null
end