Add go tools to path if it exists

This commit is contained in:
Ben Kreeger 2025-07-09 11:37:28 -05:00
parent aca5c4a29f
commit d230b894d5
Signed by: kreeger
GPG Key ID: D5CF8683D4BE4B50

View File

@ -22,6 +22,11 @@ if [[ -a "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
# go additions
if [[ -d "/usr/local/go/bin" ]]; then
export PATH="/usr/local/go/bin:$PATH"
fi
# krew additions
if [[ -a "$HOME/.krew" ]]; then
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"