aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-utils.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-utils.el')
-rw-r--r--.emacs.d/lisp/init-utils.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-utils.el b/.emacs.d/lisp/init-utils.el
index 2f4118c..dd3713d 100644
--- a/.emacs.d/lisp/init-utils.el
+++ b/.emacs.d/lisp/init-utils.el
@@ -2,4 +2,9 @@
(when (gx/maybe-require-package 'diminish)
(diminish mode to-what)))
+(setq exec-path-from-shell-arguments '("-l"))
+(when (gx/maybe-require-package 'exec-path-from-shell)
+ (when (memq window-system '(mac ns))
+ (exec-path-from-shell-initialize)))
+
(provide 'init-utils)