From 25ab87b85acfa39ba7c1cc063bb16318623b9cd1 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 29 Mar 2021 08:43:37 -0400 Subject: [PATCH] add explicit GOPATH and GOBIN. change PATH to use GOBIN. --- .bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 0664896..fab4c39 100644 --- a/.bashrc +++ b/.bashrc @@ -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