add explicit GOPATH and GOBIN. change PATH to use GOBIN.

master
Andrew Coleman 2021-03-29 08:43:37 -04:00
parent 67a4f60ebb
commit 25ab87b85a
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ fi
export PAGER
DELTA_PAGER=less; export DELTA_PAGER
PATH=$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:${KREW_ROOT:-$HOME/.krew}/bin:$PATH
GOPATH=$HOME/go; export GOPATH
GOBIN=$GOPATH/bin; export GOBIN
PATH=$HOME/.local/bin:$HOME/.cargo/bin:$GOBIN:${KREW_ROOT:-$HOME/.krew}/bin:$PATH
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options