mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
9 lines
No EOL
271 B
Fish
9 lines
No EOL
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 |