diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 20c4d36..b957b54 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -111,7 +111,8 @@ then alias vi=vim fi -# Set up GOPATH. +# Set up Go. +export GOPROXY=https://proxy.golang.org export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" if [ -x "$HOME/opt/go/bin/go" ] || [ -x /usr/bin/go ] || [ -x /usr/local/bin/go ] then