mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-23 07:14:22 +00:00
9 lines
271 B
Fish
9 lines
271 B
Fish
|
which ssh-agent --skip-functions >/dev/null 2>/dev/null
|
||
|
if [ $status -eq 0 ]
|
||
|
function ssh-start
|
||
|
log-t "Starting" "ssh-agent" "..."
|
||
|
eval (ssh-agent -c)
|
||
|
log-t "Adding" "private key" "to the agent..."
|
||
|
ssh-add ~/.ssh/id_ed25519
|
||
|
end
|
||
|
end
|