From cbd790cbed5a14b7de05115072678fa266edc800 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 21 Oct 2026 11:28:51 -0700 Subject: emacs: Only include exec-path-from-shell on macos --- emacs/.emacs.d/init.org | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 2bb72f5..28d9013 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -97,13 +97,12 @@ Make use-package default to ensuring everything on macos. This way each =use-pac * exec-path-from-shell -This is necessary to make sure that packages installed through bundle and such are available in Emacs. +On Mac OS this is necessary to make sure that packages installed through bundle and such are available in Emacs. This only gets included if we're actually building this config on a mac. -#+begin_src emacs-lisp +#+begin_src emacs-lisp :tangle (if (memq window-system '(mac ns)) "yes" "no") (use-package exec-path-from-shell :init - (when (memq window-system '(mac ns x)) - (exec-path-from-shell-initialize))) + (exec-path-from-shell-initialize)) #+end_src * Ensure system packages -- cgit v1.3-2-g0d8e