This commit is contained in:
EdwardPolonez 2026-05-18 10:08:38 +02:00 committed by GitHub
commit 408b3cbc81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,13 @@ if (( ! $+commands[brew] )); then
unset BREW_LOCATION
fi
if [[ "$BREW_LOCATION" == "/opt/homebrew/bin/brew" && -d "/opt/homebrew/sbin" ]]; then
path=("/opt/homebrew/sbin" $path)
fi
unset BREW_LOCATION
fi
if [[ -z "$HOMEBREW_PREFIX" ]]; then
# Maintain compatibility with potential custom user profiles, where we had
# previously relied on always sourcing shellenv. OMZ plugins should not rely