feat(golang): remove use of goenv

It's simpler to just have a single version of Go available, with goenv
lots of different modules/packages which have `.go-version` files, the
LSP server doesn't work correctly unless the specific version of Go is
installed.
This commit is contained in:
2020-11-26 15:42:57 +00:00
parent 20116fcf14
commit 2a0ae3af05
2 changed files with 3 additions and 17 deletions

4
zshenv
View File

@@ -150,8 +150,8 @@ path_prepend "/opt/emacs/bin"
path_prepend "/opt/tmux/bin"
# Go setup for golang (./zsh/golang.zsh)
path_prepend "$HOME/.goenv/shims"
export GOENV_GOPATH_PREFIX="$HOME/.goenv/go"
export GOPATH="$HOME/.go"
path_prepend "$GOPATH/bin"
# Ruby setup for rbenv (./zsh/ruby.zsh)
path_prepend "$HOME/.rbenv/shims"