Fix SSH agent socket for Linux
This commit is contained in:
parent
c2b3938038
commit
4e32fe4511
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ keychain --eval --quiet id_ed25519 | source
|
|||
set -gx HELIX_RUNTIME /usr/local/lib/helix/runtime
|
||||
{{- 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
|
||||
set -gx GPG_TTY (tty)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue