summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-hygiene.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-hygiene.el7
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)