diff --git a/.bashrc b/.bashrc index d0d4594..2002510 100644 --- a/.bashrc +++ b/.bashrc @@ -61,6 +61,14 @@ export KUBECONFIG=~/.kube/config # Gpg keep key session to this TTY export GPG_TTY=$(tty) +# Set the go bin for `go install` commands +export GOBIN="$HOME/.local/gobin" +# Make the go bin +mkdir -p $GOBIN +# And add the gobin to the executable path +export PATH="$GOBIN:$PATH" + + ############################################################################### # Convience Aliases ########################################################### ############################################################################### @@ -151,3 +159,5 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh eval "$(atuin init bash)" + +