This repo contains shell scripts and config files which, when executed and copied into their respective destinations, bring a clean install of macOS into a working-ready state.
Forked from Vítor’s dotfiles but quite diverged now.
To run all automatic scripts in this repo:
zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/setup/main.sh')"
Or, if you've already cloned the repo locally, simply run:
./setup/main.sh
To customize OS settings and complete the setup, run:
zsh -c "$(curl -sSL 'https://raw.github.com/janosh/setup/main/system-settings.sh')"
The important files in this repo are:
.
└── setup
├── main.sh
└── system-settings.sh
The files prefixed with numbers contain only functions. None of them will do anything if run on their own. main.sh
imports all functions and runs them in sequence.
If you wish to run only parts of the setup process, source the appropriate script(s) and call the respective functions, e.g. source scripts/2_apps.sh && brew_install
.