- install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- install all brews:
brew bundle install --file "src/macos/Brewfile"
- run Ansible playbook:
ansible-playbook --ask-become-pass src/ansible/setup-macos.yml
- install the dotfiles:
./bin/install.sh
Any file which matches the shell glob _*
will be linked into $HOME
as a symlink with the first _
replaced with a .
For example:
_bashrc
becomes
${HOME}/.bashrc
I've extended the install.sh
script to handle .config
directory, too. Just create a directory named _config
and add files or directories in this directory. Everything inside _config
will be symlinked to .config
.
There is a Brewfile
generated from/for Homebrew Bundle as described at Thoughtbot's blog.
brew bundle dump --describe --force