mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Merge 749fafd386 into cb64103161
This commit is contained in:
commit
408b3cbc81
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue