feat(golang): install and manage Go versions with stefanmaric/g

This commit is contained in:
2021-04-19 01:16:01 +01:00
parent 1eaf05fefa
commit c0e71c965c
2 changed files with 11 additions and 1 deletions

3
zshenv
View File

@@ -149,8 +149,9 @@ path_prepend "/opt/emacs/bin"
# Use custom tmux install if available
path_prepend "/opt/tmux/bin"
# Go setup for golang (./zsh/golang.zsh)
# Go setup (./zsh/golang.zsh)
export GOPATH="$HOME/.go"
export GOROOT="$HOME/.local/go"
path_prepend "$GOPATH/bin"
# Ruby setup for rbenv (./zsh/ruby.zsh)