summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-06-30 13:12:37 +0200
committerAlan Pearce2019-06-30 13:12:37 +0200
commit3103f43870964170d328afec95d1914ed982764c (patch)
treeb5dcd4aa0a0d73670625138ce78b9eca61581140 /emacs
parent90a2369bda90ba0e0776fa09bf3c6f58a4b47853 (diff)
downloadnixfiles-3103f43870964170d328afec95d1914ed982764c.tar.lz
nixfiles-3103f43870964170d328afec95d1914ed982764c.tar.zst
nixfiles-3103f43870964170d328afec95d1914ed982764c.zip
Emacs: fix exec-path on macOS
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e09d68ac..3e680087 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -8,6 +8,11 @@
   (setq use-package-expand-minimally t))
 (setq use-package-always-demand (daemonp))
 
+(use-package exec-path-from-shell
+  :if (eq system-type 'darwin)
+  :config (progn
+            (exec-path-from-shell-initialize)))
+
 ;;; Customize
 
 (setq custom-file "~/.emacs.d/custom.el")