aboutsummaryrefslogtreecommitdiff
path: root/dot_zsh
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-16 10:18:33 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-16 10:18:33 -0500
commit609271735c54db5fa4028e9dc916d39f1d44728c (patch)
treed2e60dd6959b9e3770e828477c6deb03ba2326a2 /dot_zsh
parentmore ssh config finangling (diff)
update keychain accordingly
Diffstat (limited to '')
-rw-r--r--dot_zshrc.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 050b13c..b1ee130 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -628,7 +628,7 @@ NO_verbose \
# GPG / SSH AGENT
if command -v keychain > /dev/null; then
- keychain {{ .keychain_keys }}
+ ls ~/.ssh/keys/{{ .chezmoi.hostname }}/id_* | egrep -v '\.pub$' | xargs keychain
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&
. $HOME/.keychain/$HOSTNAME-sh