From d51604131212dab63f6e93b35a2b88da70bce80e Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Sat, 22 Nov 2025 08:48:47 +0100 Subject: [PATCH] Edit exec-path-from-shell setup --- flakes/emacs/config/init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flakes/emacs/config/init.el b/flakes/emacs/config/init.el index 919397e..c333c05 100644 --- a/flakes/emacs/config/init.el +++ b/flakes/emacs/config/init.el @@ -266,10 +266,11 @@ (envrc-global-mode)) (use-package exec-path-from-shell - :if (and (eq system-type 'darwin) (display-graphic-p)) + :if (memq window-system '(mac ns)) :config - (exec-path-from-shell-initialize) - (exec-path-from-shell-copy-envs '("LOGSEQ_DIR"))) + (dolist (v '("PATH" "MANPATH" "NIX_PATH" "LOGSEQ_DIR")) + (exec-path-from-shell-copy-env v)) + (exec-path-from-shell-initialize)) (use-package flycheck :hook (clojure-mode . flycheck-mode))