diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-06-12 16:16:08 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-06-12 16:16:08 -0700 |
commit | 3477bb921a59b0493d2a443c22d86e7b026f00b4 (patch) | |
tree | afb21f2c0f48c66c2b3f611d1c7c119c64476fd4 | |
parent | [emacs] don't use tips for flycheck errors (diff) | |
download | emacs.d-3477bb921a59b0493d2a443c22d86e7b026f00b4.tar.gz |
[emacs] another try to load correctly GOPATH
-rw-r--r-- | emacs.d/custom/fcuny-hygiene.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs.d/custom/fcuny-hygiene.el b/emacs.d/custom/fcuny-hygiene.el index 2d74c82..1ef135f 100644 --- a/emacs.d/custom/fcuny-hygiene.el +++ b/emacs.d/custom/fcuny-hygiene.el @@ -7,8 +7,9 @@ (use-package exec-path-from-shell :ensure t - :if (memq window-system '(mac ns)) - :config - (exec-path-from-shell-initialize)) + :init (exec-path-from-shell-initialize) + (when (memq window-system '(mac ns)) + (exec-path-from-shell-initialize)) + (exec-path-from-shell-copy-env "GOPATH")) (provide 'fcuny-hygiene) |