diff options
-rw-r--r-- | tag-emacs/emacs.d/init.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index a982840f..75d62e2e 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -31,6 +31,19 @@ the buffer to be empty. user-full-name "Alan Pearce") #+end_src +** Environment Variables + +MacOS doesn’t have a reasonable way to set environment variables and +read them automatically any more. So, let’s use the +[[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] package to set up ~exec-path~ and similar +variables from whatever my shell configuration is. + +#+BEGIN_SRC emacs-lisp +(use-package exec-path-from-shell + :if (eq system-type 'darwin) + :init (exec-path-from-shell-initialize)) +#+END_SRC + * Packaging ** Use-package |