You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
207 B
7 lines
207 B
3 years ago
|
# From https://github.com/danhper/fish-ssh-agent
|
||
|
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
|