mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-08 06:06:52 -06:00
add ssh keychain startup to bashrc/WSL
This commit is contained in:
@@ -109,3 +109,8 @@ fi
|
||||
|
||||
{{/* Chezmoi's shell completion */ -}}
|
||||
{{ completion "bash" }}
|
||||
|
||||
# If WSL, add SSH key on startup (once per WSL start)
|
||||
{{- if .wsl }}
|
||||
eval `keychain --quiet --eval --agents ssh ~/.ssh/id_rsa`
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user