summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2015-12-06 23:41:43 -0500
committerLuke Shumaker <shumakl@purdue.edu>2015-12-06 23:41:43 -0500
commitf91736150e5b705d832ef9259a0ce30487da3637 (patch)
treef01f44df6d12b30dc1b93efef175e65b79cf8586
parent802bd75210b982c7bfb0159db1172827925c8e3f (diff)
login: have GOROOT golang take precedence over system golang
-rw-r--r--.config/login.d/10_golang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/login.d/10_golang.sh b/.config/login.d/10_golang.sh
index a9899a8..9feda74 100644
--- a/.config/login.d/10_golang.sh
+++ b/.config/login.d/10_golang.sh
@@ -2,7 +2,7 @@
if [ -z "$GOROOT" ]; then
export GOROOT="/homes/shumakl/.prefix.$(uname -m)/go"
if [ -d "$GOROOT" ]; then
- PATH="$PATH:$GOROOT/bin"
+ PATH="$GOROOT/bin:$PATH"
else
unset GOROOT
fi