Add debugging to exec-path-from-shell

This commit is contained in:
Ivan Malison 2016-09-06 13:25:14 -07:00
parent b72094d69b
commit 2e9dbed567
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -103,6 +103,11 @@ Sets environment variables by starting a shell.
(use-package exec-path-from-shell (use-package exec-path-from-shell
:config :config
(progn (progn
;; For debugging
(when nil
(message "path: %s, setup: %s" (getenv "PATH")
(getenv "ENVIRONMENT_SETUP_DONE"))
(setq exec-path-from-shell-debug t))
(setq exec-path-from-shell-arguments (list "-l")) (setq exec-path-from-shell-arguments (list "-l"))
(setq exec-path-from-shell-check-startup-files nil) (setq exec-path-from-shell-check-startup-files nil)
(add-to-list 'exec-path-from-shell-variables "GOPATH") (add-to-list 'exec-path-from-shell-variables "GOPATH")