Emacs: ensure SSH_AUTH_SOCK is set on Linux
Alan Pearce alan@alanpearce.eu
Wed, 23 Aug 2023 06:47:53 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/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