From acc2d76a3da1e9d3701e93e0792cea48fc11fb2e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 29 Oct 2016 14:15:59 -0700 Subject: [emacs] A few more fixes for `exec-path-from-shell'. --- emacs.d/init.el | 7 +++++-- 1 file 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")))) -- cgit v1.2.3