diff options
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 0bfcf64a..1049b84a 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -760,6 +760,9 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (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 |