From d230b894d5a82c5142878ec27504c89216b1a66e Mon Sep 17 00:00:00 2001 From: Ben Kreeger Date: Wed, 9 Jul 2025 11:37:28 -0500 Subject: [PATCH] Add go tools to path if it exists --- zsh/zshenv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/zshenv b/zsh/zshenv index 2a04c30..c13cd69 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -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"