Add gobin to path

This commit is contained in:
Tyler Perkins 2024-11-15 20:12:13 -05:00
parent 7c3e013253
commit 833fc3e5c1
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

10
.bashrc
View File

@ -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)"