aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org7
1 files changed, 3 insertions, 4 deletions
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