mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-08 01:43:13 +00:00
6 lines
158 B
Fish
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
|