Reference: https://driesvints.com/blog/getting-started-with-dotfiles
Follow these install instructions to setup a new Mac.
- Update macOS to the latest version with the App Store
- Install Xcode from the App Store, open it and accept the license agreement
- Install macOS Command Line Tools by running
xcode-select --install
- Copy public and private SSH keys to
~/.ssh
and make sure they're set to600
- Clone this repo to
~/.dotfiles
- Append
/usr/local/bin/zsh
to the end of your/etc/shells
file - Run
install
to start the installation - Restart your computer to finalize the process
If you want to start your own dotfiles from this setup, it's pretty easy to do so. First of all you'll need to fork this repo. After that you can tweak it the way you want.
-
Go through the
macos
file and adjust the settings to your liking. You can find much more settings at the original script by Mathias Bynens and Kevin Suttle's macOS Defaults project. -
Check out the
Brewfile
file and adjust the apps you want to install for your machine. Use their search page to check if the app you want to install is available. -
Check out the
aliases
file and add your own aliases. -
Check out the
zsh config
file and add your plugins.