Update dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-11-02 17:39:19 +00:00
parent 12352787ca
commit 2a44787eec

View file

@ -200,13 +200,14 @@ if [ -e /home/linuxbrew/.linuxbrew/bin/brew ]; then
fi fi
### Go ### Go
if command -v brew >/dev/null && command -v go > /dev/null; then
export GOPATH="${HOME}/.local/go" export GOPATH="${HOME}/.local/go"
export GO111MODULE=on export GO111MODULE=on
export PATH="$PATH:${GOPATH}/bin" export PATH="$PATH:${GOPATH}/bin"
if command -v brew >/dev/null && command -v go > /dev/null; then # Setting GOROOT was causing issues with Homebrew Go / ASDF Go version mismatching
GOROOT="$(brew --prefix golang)/libexec" # GOROOT="$(brew --prefix golang)/libexec"
export GOROOT # export GOROOT
export PATH="$PATH:${GOROOT}/bin" # export PATH="$PATH:${GOROOT}/bin"
fi fi
### Android Studio ### Android Studio