Update dotfiles/.profile
This commit is contained in:
parent
12352787ca
commit
2a44787eec
1 changed files with 7 additions and 6 deletions
|
@ -200,13 +200,14 @@ if [ -e /home/linuxbrew/.linuxbrew/bin/brew ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Go
|
### Go
|
||||||
export GOPATH="${HOME}/.local/go"
|
|
||||||
export GO111MODULE=on
|
|
||||||
export PATH="$PATH:${GOPATH}/bin"
|
|
||||||
if command -v brew >/dev/null && command -v go > /dev/null; then
|
if command -v brew >/dev/null && command -v go > /dev/null; then
|
||||||
GOROOT="$(brew --prefix golang)/libexec"
|
export GOPATH="${HOME}/.local/go"
|
||||||
export GOROOT
|
export GO111MODULE=on
|
||||||
export PATH="$PATH:${GOROOT}/bin"
|
export PATH="$PATH:${GOPATH}/bin"
|
||||||
|
# Setting GOROOT was causing issues with Homebrew Go / ASDF Go version mismatching
|
||||||
|
# GOROOT="$(brew --prefix golang)/libexec"
|
||||||
|
# export GOROOT
|
||||||
|
# export PATH="$PATH:${GOROOT}/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Android Studio
|
### Android Studio
|
||||||
|
|
Loading…
Reference in a new issue