aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.config/profile.d/20-go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/.config/profile.d/20-go.sh')
-rw-r--r--sh/.config/profile.d/20-go.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/sh/.config/profile.d/20-go.sh b/sh/.config/profile.d/20-go.sh
index 58d8115..252ba47 100644
--- a/sh/.config/profile.d/20-go.sh
+++ b/sh/.config/profile.d/20-go.sh
@@ -1,7 +1,9 @@
#!/bin/sh
-export GOPATH="$XDG_DATA_HOME/go"
-export PATH="$PATH:$GOPATH/bin"
-
# See: https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html
export GOPRIVATE=git.sr.ht
+export GOPATH="$XDG_DATA_HOME/go"
+
+append_path "$GOPATH/bin"
+
+export PATH