diff options
author | Case Duckworth | 2022-07-29 17:04:24 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-29 17:04:24 -0500 |
commit | e6c35b7b14ba815b82a7377f16b06801d68700ce (patch) | |
tree | 4f8bee7f6d54e9641a5fb1a6cd5a40cadd944d54 /profile/go.sh | |
parent | Update link (diff) | |
download | etc-e6c35b7b14ba815b82a7377f16b06801d68700ce.tar.gz etc-e6c35b7b14ba815b82a7377f16b06801d68700ce.zip |
bleh
Diffstat (limited to 'profile/go.sh')
-rw-r--r-- | profile/go.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | export GOPATH="${XDG_DATA_HOME:=$HOME/.local/share}/go" | 1 | export GOPATH="$HOME/src/go" |
2 | 2 | ||
3 | # https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html | 3 | # https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html |
4 | export GOPROXY=direct | 4 | export GOPROXY=direct |
5 | 5 | ||
6 | # For the GO binary ... XXX: this is slightly clunky (~/usr/local/go/bin is the directory) | 6 | # For the GO binary ... XXX: this is slightly clunky (~/usr/local/go/bin is the directory) |
7 | path_add_to_PATH $(realpath "$XDG_DATA_HOME/../local/go/bin") | 7 | path_add_to_PATH "$GOPATH/go/bin" |
8 | 8 | ||
9 | command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin" | 9 | command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin" |