aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-09-27 15:06:33 +0200
committerpablu <me@pablu.de>2026-09-27 15:06:33 +0200
commita1b3abb94210581fb7e4d983570e10b7a4c6034d (patch)
tree94e9abeceab940a50988ffca076fe90844a4932d /dot_zshrc.tmpl
parentcc71d9cad6fe60fb3e3ad2f9d84e9f733ad097c6 (diff)
change gnupg ssh agent, to openssh ssh agent, update codex config for newest version, update nvim
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 489b539..c19d20a 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -48,10 +48,10 @@ alias ls='eza --icons=always'
{{ if eq .chezmoi.hostname "gentoo" }}
unset SSH_AGENT_PID
-export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
-export GPG_TTY="$(tty)"
-gpgconf --launch gpg-agent
-gpg-connect-agent updatestartuptty /bye >/dev/null
+
+if [[ -n ${XDG_RUNTIME_DIR:-} ]]; then
+ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock"
+fi
eval "$(mise activate zsh)"