From e6c35b7b14ba815b82a7377f16b06801d68700ce Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 29 Jul 2022 17:04:24 -0500 Subject: bleh --- profile/go.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profile/go.sh') diff --git a/profile/go.sh b/profile/go.sh index 8b4ca26..205c881 100644 --- a/profile/go.sh +++ b/profile/go.sh @@ -1,9 +1,9 @@ -export GOPATH="${XDG_DATA_HOME:=$HOME/.local/share}/go" +export GOPATH="$HOME/src/go" # https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html export GOPROXY=direct # For the GO binary ... XXX: this is slightly clunky (~/usr/local/go/bin is the directory) -path_add_to_PATH $(realpath "$XDG_DATA_HOME/../local/go/bin") +path_add_to_PATH "$GOPATH/go/bin" command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin" -- cgit 1.4.1-21-gabe81