summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-10-29 14:15:59 -0700
committerFranck Cuny <franck.cuny@gmail.com>2016-10-29 14:15:59 -0700
commitacc2d76a3da1e9d3701e93e0792cea48fc11fb2e (patch)
tree44a988e76a1355ac97be3a9e0999647e6e7d89d9
parent[emacs] More configuration for dired. (diff)
downloademacs.d-acc2d76a3da1e9d3701e93e0792cea48fc11fb2e.tar.gz
[emacs] A few more fixes for `exec-path-from-shell'.
Diffstat (limited to '')
-rw-r--r--emacs.d/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 35f2cda..712e0b3 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -87,11 +87,14 @@
 ;; environment fixup for macOS.
 (use-package exec-path-from-shell
   :ensure t
+  :commands (exec-path-from-shell-initialize
+             exec-path-from-shell-copy-env)
   :if (and (eq system-type 'darwin) (display-graphic-p))
+  :init
+  (setq exec-path-from-shell-check-startup-files nil)
   :config
   (progn
-    (setq exec-path-from-shell-debug t
-          exec-path-from-shell-check-startup-files nil)
+    (setq exec-path-from-shell-debug t)
     (exec-path-from-shell-initialize)
     (exec-path-from-shell-copy-envs '("PATH" "GOROOT" "GOPATH" "GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))))