From 6a24507ab1dc10c2e0b208f870d10dc578c65056 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 6 Jun 2021 22:58:43 +0200 Subject: zshenv: prefer manually installed Go binaries --- .zsh/zshenv/80_go | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf