fix(mac): Missing homebrew prefix in install mac
This commit is contained in:
parent
feecb0bb0b
commit
956c7c933d
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ echo "Setting up your Mac..."
|
||||||
if test ! $(which brew); then
|
if test ! $(which brew); then
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
|
||||||
echo 'eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> $HOME/.zprofile
|
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile
|
||||||
eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update Homebrew recipes
|
# Update Homebrew recipes
|
||||||
|
|
Loading…
Add table
Reference in a new issue