changeset 453:6f3342c9e53d

emacs: use exec-path-from-shell-initialize on OS X This should mean I can start emacs like a normal application and have things work.
author Augie Fackler <raf@durin42.com>
date Sat, 06 Jan 2018 17:03:00 -0500 (2018-01-06)
parents c2a49960f11f
children 2f24474b1f84
files .elisp/settings/00.bootstrap.el .elisp/settings/00.environment.el
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.elisp/settings/00.bootstrap.el
+++ b/.elisp/settings/00.bootstrap.el
@@ -27,6 +27,7 @@
                   use-package
                   smart-mode-line
                   rich-minority
+                  exec-path-from-shell
 
                   ;; disabled until I don't need a modified version
                   ;; textmate
new file mode 100644
--- /dev/null
+++ b/.elisp/settings/00.environment.el
@@ -0,0 +1,2 @@
+(when (memq window-system '(mac ns))
+  (exec-path-from-shell-initialize))