summary refs log tree commit diff
diff options
context:
space:
mode:
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"))))