defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"It grabs my dot files and restores them, installs Homebrew and a bunch of programs, restores their plists (I have backup script that backs up all their plists) and writes a bunch of macOS settings via the `defaults write` command.
I can install/wipe macOS, follow the initial setting screens then when on the desktop I just connect to my NAS, copy over one script and run it in the Terminal to get my machine setup how I like it. It isn't perfect but it does about 97% of the work for me with the added bonus that it is consistent/reproducible for the most part so avoids me forgetting to change a setting some place.
I don't go crazy with it as I don't wipe my machine often enough to justify going all out with a fully automated system. Honestly it is less to save time and more to maintain consistency and have a 'documented as code' record of my environment setup (not quite infrastructure as code levels :)
# Trackpad: enable tap to click for this user and for the login screen
# Trackpad: map bottom right corner to right-click
# Disable “natural” (Lion-style) scrollingBut it seems this project has fallen behind on PRs.
If you would like to have this fix, you can do this after cloning the repo:
git clone https://github.com/mathiasbynens/dotfiles && cd dotfiles
git fetch origin "+refs/pull/*/head:refs/remotes/origin/pr/*" && git cherry-pick origin/pr/963