From ee0a55d4f33053c6e7fd4da5574ccdc054fbdbce Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 9 Nov 2024 13:00:47 -0500 Subject: inherit agent in zsh --- dot_zshrc.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot_zshrc.tmpl') diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index c672966..2c62630 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -587,7 +587,7 @@ NO_verbose \ # GPG / SSH AGENT if command -v keychain > /dev/null && test -d ~/.ssh/keys/{{ .chezmoi.hostname }}; then - keychain {{ if (eq .chezmoi.os "linux") -}} --systemd {{- end }} ~/.ssh/keys/{{ .chezmoi.hostname }}/id_*[^p][^u][^b] + keychain {{ if (eq .chezmoi.os "linux") -}} --systemd {{- end }} --inherit any ~/.ssh/keys/{{ .chezmoi.hostname }}/id_*[^p][^u][^b] [ -z "$HOSTNAME" ] && HOSTNAME=`uname -n` [ -f $HOME/.keychain/$HOSTNAME-sh ] && . $HOME/.keychain/$HOSTNAME-sh -- cgit v1.2.3