aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-01-03 15:08:15 -0500
committerRyan Kavanagh <rak@rak.ac>2023-01-03 15:08:15 -0500
commit0b9e6857b5a1a60d1a0d77d8324e5ede1a17614e (patch)
tree9e3e3f0d08f90b0d22cce8e78821441eeaa0707e /dot_zshrc.tmpl
parentMerge remote-tracking branch 'origin' (diff)
fix zshrc keychain
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 3c9b780..bd59b0e 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -652,7 +652,7 @@ NO_verbose \
# GPG / SSH AGENT
if command -v keychain > /dev/null && test -d ~/.ssh/keys/{{ .chezmoi.hostname }}; then
- ls ~/.ssh/keys/{{ .chezmoi.hostname }}/id_* | grep -E -v '\.pub$' | xargs keychain
+ ls ~/.ssh/keys/{{ .chezmoi.hostname }}/id_* | grep -E -v '\.pub$' | xargs keychain --systemd
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&
. $HOME/.keychain/$HOSTNAME-sh