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.
This commit is contained in:
@@ -139,6 +139,8 @@ export -f install_git_project
|
|||||||
install_homebrew() {
|
install_homebrew() {
|
||||||
if ! command -v brew > /dev/null; then
|
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)"
|
/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
|
fi
|
||||||
}
|
}
|
||||||
export -f install_homebrew
|
export -f install_homebrew
|
||||||
|
|||||||
Reference in New Issue
Block a user