This commit is contained in:
Luk
2024-04-24 13:19:41 +08:00
parent 30e0c2551a
commit 29f7dd5858
7 changed files with 59 additions and 36 deletions

View File

@@ -137,7 +137,7 @@ then
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ "$(uname -m)" = "x86_64" ] && [ -f /usr/local/homebrew/bin/brew ]
then
eval "$(/usr/local/homebrew/bin/brew shellenv)"
eval "$(echo $(/usr/local/homebrew/bin/brew shellenv) | sed 's#HOMEBREW_CELLAR=.*$#HOMEBREW_CELLAR=/usr/local/Cellar#')"
fi
fi