diff options
| author | 2026-10-21 11:28:51 -0700 | |
|---|---|---|
| committer | 2026-11-27 22:50:55 -0700 | |
| commit | cbd790cbed5a14b7de05115072678fa266edc800 (patch) | |
| tree | e0c6ef69c0a8ce913a87fc274c58c977420b7ebd | |
| parent | 60a3ac3f063d26124e8b139c5ba16cc55cdd9ebd (diff) | |
| download | new-dotfiles-cbd790cbed5a14b7de05115072678fa266edc800.tar.gz new-dotfiles-cbd790cbed5a14b7de05115072678fa266edc800.zip | |
emacs: Only include exec-path-from-shell on macos
| -rw-r--r-- | emacs/.emacs.d/init.org | 7 |
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 |
