This is my dotfile collection. I use these whenever I'm setting up a new mac and I want to feel at home as quickly as possible - so that I can be productive as quickly as possible. I've gone through several macs in the past two years so I'm finding this to be an indispensible tool kit.
I forked these dotfiles from https://github.com/holman/dotfiles and it's a wonderful starting point.
Note: These dotfiles are compatible with zsh
. I'm a newcomer to the dotfile community and until recently I had no idea there were different shells avaialable for Terminal. Terminal defaults to bash
(what's bash anyway? Why do I care?). Turns out there's another shell called zsh
. I only found this out because after installing these dotfiles, they didn't work as documented. After a bit of research I learned that you need to make sure your terminal app (there is another one avaialble for the mac called iTerm2 which I'll talk about next) is using zsh instead of the default bash. Holman's bootstrap script doesn't switch the shell for you, and there may be a good reason why not, but I've modified the bootstrap script to include this command so I don't have to think about it.
Even though I've forked this repo from Holman's dotfiles, I have made some of my own customizations that you should be aware of. I've recently switched from using the default Terminal app to using iTerm2. I can't say there's a lot of difference, and I'm not even sure which I like best yet but it's what I'm using at the moment. As such, my dotfiles include some iterm color preferences under the iterm2
folder. There's a script that activates the theme file so it will be avaialble for use in iterm.
Clone this repo to your home directory and run the boostrap script:
git clone [email protected]:colynb/dotfiles.git ~/.dotfiles cd ~/.dotfiles script/bootstrap
Before you do anything, create your own emtpy dotfile repository. After cloning this one, you must change the remote url it's pointing to for pushes. If you list the remotes added to this repo:
› git remote -v origin [email protected]:colynb/dotfiles.git (fetch) origin [email protected]:colynb/dotfiles.git (push)
You'll see that if you made changes and you tried to push them up, you'll be pushing those changes to my repo (for which you do not have access anyway). You need to change the origin
url to point to your own dotfiles repo:
› git remote set-url origin [email protected]:[YOUR USERNAME]/dotfiles.git
Now when you make changes that you want to push up to github, thankfully they'll apply to your own repo.