From 6dd82142272a88536cdce4f5e39d44cf53f4ac14 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Sat, 21 Oct 2023 10:46:34 +0200 Subject: [PATCH] Use SSH agent from Emacs --- init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 8674953..e5c4de8 100644 --- a/init.el +++ b/init.el @@ -149,9 +149,8 @@ :config (when (memq window-system '(mac ns x pgtk)) (exec-path-from-shell-initialize) - (exec-path-from-shell-copy-env "LD_LIBRARY_PATH") - (exec-path-from-shell-copy-env "PYENV_ROOT") - (exec-path-from-shell-copy-env "PYENV_ROOT"))) + (exec-path-from-shell-copy-env "SSH_AUTH_SOCK") + (exec-path-from-shell-copy-env "SSH_AGENT_PID"))) ;;; Menus and completion