[zsh] Actually load brew if found

This commit is contained in:
2026-03-02 13:22:51 -05:00
parent 42cc4b6b0c
commit d394d68e1f

View File

@ -51,7 +51,7 @@ export VISUAL="$EDITOR"
case "$(uname -s)" in case "$(uname -s)" in
Linux) Linux)
[[ -d "/home/linuxbrew/.linuxbrew/bin" ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv &>/dev/null)" [[ -d "/home/linuxbrew/.linuxbrew/bin" ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
;; ;;
Darwin) Darwin)
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"