From c71ffba678c49500b52ee3dd917924dba2f6cb98 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 14 Nov 2015 00:18:19 -0800 Subject: [PATCH] add gopath to exec-path-from shell --- dotfiles/emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 0250bbcd..3615b1e3 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -675,7 +675,10 @@ The current directory is assumed to be the project's root otherwise." ;; Set path from shell. (use-package exec-path-from-shell - :config (exec-path-from-shell-initialize)) + :config + (progn + (add-to-list 'exec-path-from-shell-variables "GOPATH") + (exec-path-from-shell-initialize))) (use-package yasnippet :defer 5