From 7d0c11a0ba89a4a7fe135e870a969cff45e49658 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 18 Jun 2024 20:49:17 +0200 Subject: [PATCH] feat: do not load exec-path from shell on windows --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 73898c6..4638846 100644 --- a/init.el +++ b/init.el @@ -112,7 +112,8 @@ "XDG_DATA_HOME" "NIX_PATH")) :config - (exec-path-from-shell-initialize)) + (unless (memq window-system '(w32)) + (exec-path-from-shell-initialize))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.48.1