all repos — nixfiles @ adae41b88aac129353d88f83b66131fc74d0865e

System and user configuration, managed by nix and home-manager

Emacs: ensure SSH_AUTH_SOCK is set on Linux

Alan Pearce
commit

adae41b88aac129353d88f83b66131fc74d0865e

parent

d969f3f9d43ac76d732d39b4dd3ffe34bc54a3c8

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -760,6 +760,9 @@ sh-basic-offset 2)
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) +(when (eq system-type 'gnu/linux) + (setenv "SSH_AUTH_SOCK" (expand-file-name "ssh-agent" (getenv "XDG_RUNTIME_DIR")))) + (use-package fish-mode :mode (("\\.fish\\'" . fish-mode)) :config (progn