diff --git a/install.sh b/install.sh index 639672fa..719c9594 100755 --- a/install.sh +++ b/install.sh @@ -1048,7 +1048,7 @@ EOS else cat <> ${shell_rcfile} + grep -qxF 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' /Users/$(id -un)/.zprofile || (echo; echo 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"') >> /Users/$(id -un)/.zprofile eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)" EOS fi