Tested on macOS: 10.14.1 (18B2107)
This installation is setup for my own usage, and to my needs. Please adapt the configuration. This playbook comes from flemzord, and geerlingguy
On a fresh macOS installation:
- Run
xcode-select --install
to install minimal tools (git, ...) - Fork, then Clone this repository to your local drive.
- Change and adapt to your needs the configuration in
config.yml
. - Run
sh run.sh
from your brand new macOS installation. - Don't forget to commit & push your changes for your next installation.
To upgrade your macOS installation:
$ sh files/upgrade.sh
To enable the configuration of dotfiles, and download from your own repository.
configure_dotfiles: yes
configure the following options in config.yml
dotfiles_repo: https://github.com/your/dotfiles_repo.git
dotfiles_repo_accept_hostkey: yes
dotfiles_repo_local_destination: ~/.dotfiles # destination
dotfiles_files: # file to download
- .gitignore
- .osx
- .zshrc
- .alias.sh
- .bashrc
Register sed
and copy sudoers template.
configure_sudoers: yes
configure macOS with .osx
file
configure_osx: no
Configure few personal stuffs:
- Install zsh theme
- Install zsh plugins
- Set zsh as defaut shell
- Install oh-my-zsh
- Install pure-prompt
- Set an
/etc/hosts
entry
configure_extra: yes
Remove and add icons in the dock
configure_dock: yes