This dotfiles setup is heavily based on Dries Vints' dotfiles. Read more about the original to get started with your own:
📖 - Read the blog post
📺 - Watch the screencast on Laracasts
💡 - Learn how to build your own dotfiles
This repository holds most of the stuff I need to set up a new Mac. It makes setup much faster and less error-prone.
First, go through the checklist below to make sure you didn't forget anything before you wipe your hard drive.
- Did you commit and push any changes/branches to your git repositories?
- Did you remember to save all important non-cloud documents?
- Did you remember to export important data from your local database?
If you did all of the above you may now follow these install instructions to setup a new Mac.
-
Update macOS to the latest version with the App Store
-
Generate a new public and private SSH key by running:
curl https://raw.githubusercontent.com/stopa/dotfiles/HEAD/ssh.sh | sh -s "<your-email-address>"
-
Clone this repo to
~/.dotfiles
and go to the directory:git clone [email protected]:stopa/dotfiles.git ~/.dotfiles && cd ~/.dotfiles
-
Run the installation with:
./fresh.sh
-
Restart your computer to finalize the process
-
Have fun logging into all the apps! Firefox settings are synced through respective accounts. Webstorms settings are kept in the Settings Repository
Your Mac is now ready to use!
💡 You can use a different location than
~/.dotfiles
if you want. Make sure you also update the reference in the.zshrc
file.
oh-my-zsh
is installed, if missing- Homebrew is installed, if missing
.zshrc
from this repo is symlinked to the system one- A whole bunch of tools and applications are installed from Homebrew (see the Brewfile)
- Defaults MySQL password is set
- Some useful directories are created and a bunch of git repos cloned into them
- Ruby gems installed
- Git config from this repo is symlinked to the system one, global gitignore is applied
- A whole bunch of macOS settings are set (see .macos file)
❗ Some of the macos defaults seem to not be working, which I'll attribute to them being semi-secret menu items anyway.