Install prezto first

This commit is contained in:
Laura Hausmann 2023-02-17 22:21:18 +01:00
parent 8c335262dd
commit 19fd477b6c
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605

View file

@ -6,10 +6,14 @@ echo
echo "--- Installing Rosetta 2 ---"
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
echo "--- Installing prezto ---"
curl -L share.zotan.services/prezto.sh | zsh
echo
echo "--- Installing homebrew ---"
set -e
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
set +e
@ -48,10 +52,6 @@ echo "Installing DNSSEC root anchor for ldns and drill"
mkdir -p /opt/homebrew/opt/ldns/etc/unbound
cp ~/Projects/macx-resources/dnssec-root.key /opt/homebrew/opt/ldns/etc/unbound/root.key
echo "Installing prezto"
curl -L share.zotan.services/prezto.sh | zsh
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
####
echo
echo "--- macx.sh bootstrap complete ---"