mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 05:14:53 -06:00
add ssh keychain startup to bashrc/WSL
This commit is contained in:
@@ -108,4 +108,9 @@ fi
|
||||
{{ template "scripts/commonrc.sh.tmpl" dict "data" . "shell" "bash" }}
|
||||
|
||||
{{/* Chezmoi's shell completion */ -}}
|
||||
{{ completion "bash" }}
|
||||
{{ 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