mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-16 11:36:16 +08:00
Merge 749fafd386 into 5181447da8
This commit is contained in:
commit
2f1f46c6e6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user