Added fish support for ssh-agent.

This commit is contained in:
Shaun Setlock
2025-02-02 20:21:08 -05:00
parent 6dfbc1b97a
commit aa89bb7ea7
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
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