In the interest of portability, I've decided to put my dotfiles on Github. I've decided that my setup is good enough that I want to keep it fairly stable. I call it Dorkfiles because this is a really dorky thing to do.
This git repository can live in the home directory. The .gitignore is set up in such a way that it will ignore everything except the specified files; in this way, it acts as an allowlist. To add new dotfiles, make sure to update the .gitignore file.
This is designed for macOS High Sierra, but works on Mojave, Catalina, and Big Sur as well.
These dotfiles are also able to help when setting up a new computer. The steps below should also help you out:
- Install the XCode command line tools, which will give you Git, among other things.
- Install Homebrew.
- Clone this repo to your home directory
- It's not obvious how to clone a repository into a non-empty directory. The instructions here (https://stackoverflow.com/a/18999726) help me every time.
- Run
brew bundle
to install the software I use (Note: Haven't gotten around to testing these yet) - I use
vim-plug
to manage my Vim plugins. Install it and run the plugin installation process. - Use application-specific config importers for the Alfred and iTerm 2 profiles.