summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-06-30 13:12:37 +0200
committerAlan Pearce2019-06-30 13:12:37 +0200
commit3103f43870964170d328afec95d1914ed982764c (patch)
treeb5dcd4aa0a0d73670625138ce78b9eca61581140
parent90a2369bda90ba0e0776fa09bf3c6f58a4b47853 (diff)
downloaddotfiles-3103f43870964170d328afec95d1914ed982764c.tar.lz
dotfiles-3103f43870964170d328afec95d1914ed982764c.tar.zst
dotfiles-3103f43870964170d328afec95d1914ed982764c.zip
Emacs: fix exec-path on macOS
-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 e09d68a..3e68008 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")