From 2a44787eec6ed2035f571dcb362a3dcc8321a52d Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 2 Nov 2022 17:39:19 +0000 Subject: [PATCH] Update dotfiles/.profile --- dotfiles/.profile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index 673e5e40..b89e817b 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -200,13 +200,14 @@ if [ -e /home/linuxbrew/.linuxbrew/bin/brew ]; then fi ### 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 - GOROOT="$(brew --prefix golang)/libexec" - export GOROOT - export PATH="$PATH:${GOROOT}/bin" + export GOPATH="${HOME}/.local/go" + export GO111MODULE=on + 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 ### Android Studio