Add debugging to exec-path-from-shell

This commit is contained in:
2016-09-06 13:25:14 -07:00
parent b72094d69b
commit 2e9dbed567

View File

@@ -103,6 +103,11 @@ Sets environment variables by starting a shell.
(use-package exec-path-from-shell
:config
(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-check-startup-files nil)
(add-to-list 'exec-path-from-shell-variables "GOPATH")