From 05bb46ecad02e9d2c4b89bc4fa5de877b6d6f694 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 3 Nov 2022 03:36:06 +0000 Subject: [PATCH] Update dotfiles/.profile --- dotfiles/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index b1380d30..e98cfc89 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -185,7 +185,7 @@ fi export GOPATH="${HOME}/.local/go" export GO111MODULE=on export PATH="$PATH:${GOPATH}/bin" -if which go | grep -q 'asdf' && command -v asdf > /dev/null; then +if which go | grep -q 'asdf' > /dev/null && command -v asdf > /dev/null; then GOROOT="$(asdf where golang)/go" export GOROOT export PATH="$PATH:${GOROOT}/bin"