Skip to content

Commit

Permalink
dotfiles/shell/zshrc: enforce GOROOT for godef
Browse files Browse the repository at this point in the history
`:GoDef` (and `gd`) in Vim was broken for the standard library.

rogpeppe/godef#73

Try and find a different approach in the long-run.
Setting `GOROOT` is not recommended.
  • Loading branch information
croaky committed Apr 23, 2018
1 parent 0130cd8 commit 4164695
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotfiles/shell/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ compinit

# Set GOPATH `go help gopath`
export GOPATH="$HOME"
export GOROOT="$HOME/.asdf/installs/go/1.9.3/go"

# Set environment variables for monorepos
export OK="$HOME/src/statusok"
Expand Down

0 comments on commit 4164695

Please sign in to comment.