From 956c7c933d0d25c2ebf25ff5504bc52edf15975c Mon Sep 17 00:00:00 2001 From: Saibotk Date: Fri, 3 Nov 2023 10:09:45 +0100 Subject: [PATCH] fix(mac): Missing homebrew prefix in install mac --- install-mac.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-mac.sh b/install-mac.sh index 98bc10c..e73f2de 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -9,8 +9,8 @@ echo "Setting up your Mac..." if test ! $(which brew); then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - echo 'eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> $HOME/.zprofile - eval "$(${HOMEBREW_PREFIX}/bin/brew shellenv)" + echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile + eval "$(/opt/homebrew/bin/brew shellenv)" fi # Update Homebrew recipes