forked from zotan/os-bootstrap-core
Install prezto first
This commit is contained in:
parent
8c335262dd
commit
19fd477b6c
8
macx.sh
8
macx.sh
|
@ -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 ---"
|
||||
|
|
Loading…
Reference in a new issue