summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-06-06 22:58:43 +0200
committerTobias Klauser <tklauser@distanz.ch>2021-06-06 22:58:43 +0200
commit6a24507ab1dc10c2e0b208f870d10dc578c65056 (patch)
tree3ea8f536baf22e470c0e0f07bce0ffb27e13c96b
parent6ded4072dc89fd03caadc660e0dd5f288e0c31bb (diff)
zshenv: prefer manually installed Go binaries
-rw-r--r--.zsh/zshenv/80_go4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go
index 2b863a2..06fb34c 100644
--- a/.zsh/zshenv/80_go
+++ b/.zsh/zshenv/80_go
@@ -26,9 +26,9 @@ if [ -d $_GOROOT ] ; then
*) export GOOS="unsupported";;
esac
- path_append $_GOROOT/bin
+ path_prepend $_GOROOT/bin
if [ -d $GOPATH/bin ] ; then
- path_append $GOPATH/bin
+ path_prepend $GOPATH/bin
fi
fi