1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-09 10:23:11 +00:00
Dotfiles/.config/omf/functions/__ssh_agent_start.fish
2020-07-27 07:59:00 +03:00

6 lines
158 B
Fish

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