Closed rinshadka closed 1 year ago
This code will start SSH agent and add private key if ~/.ssh/id_rsa exists
you do not want to change dot_config/fish/config.fish, create a new file called home-polyglot/dot_config/fish/conf.d/ssh-agent-auto.fish.tmpl and it will be picked up automatically by each session.
dot_config/fish/config.fish
This code will start SSH agent and add private key if ~/.ssh/id_rsa exists