Fix SSH agent socket for Linux

This commit is contained in:
Bastian Gruber 2026-01-28 14:25:25 -04:00
parent c2b3938038
commit 4e32fe4511
Signed by: gruberb
GPG key ID: 426AF1CBA0530691

View file

@ -27,6 +27,11 @@ keychain --eval --quiet id_ed25519 | source
set -gx HELIX_RUNTIME /usr/local/lib/helix/runtime set -gx HELIX_RUNTIME /usr/local/lib/helix/runtime
{{- end }} {{- end }}
{{- if ne .machine "macbook" }}
# SSH agent socket (systemd user service)
set -gx SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
{{- end }}
# GPG TTY for signing # GPG TTY for signing
set -gx GPG_TTY (tty) set -gx GPG_TTY (tty)