netspective-labs / home-polyglot

Chezmoi-based Linux/WSL2 home directory setup for polyglot creator sandboxes
GNU General Public License v3.0
2 stars 3 forks source link

feat: start ssh agent and add key #4

Closed rinshadka closed 1 year ago

rinshadka commented 1 year ago

This code will start SSH agent and add private key if ~/.ssh/id_rsa exists

shah commented 1 year ago

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.