From efa421db4edd5acb76f7f6311e6efe1631c9f0e2 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Tue, 15 Mar 2022 10:11:17 -0600 Subject: [PATCH] Fixed Homebrew install to initially default to ZSH Ensures a smooth machine setup since macOS machines default to ZSH. This can be switched to Bash once initial setup is complete. --- lib/installers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/installers.sh b/lib/installers.sh index 811fe0d..cadb628 100644 --- a/lib/installers.sh +++ b/lib/installers.sh @@ -139,6 +139,8 @@ export -f install_git_project install_homebrew() { if ! command -v brew > /dev/null; then /bin/bash -c "$(curl --location --fail --silent --show-error https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + echo "eval \"($(get_homebrew_bin_root)/brew shellenv)\"" > $HOME/.zprofile + eval "$($(get_homebrew_bin_root)/brew shellenv)" fi } export -f install_homebrew