Configuration files used by thoughtbot developers
Vim script Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 30 commits ahead, 331 commits behind thoughtbot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
vim
zsh/completion
.ackrc
README.md
aliases
gitconfig
gitignore
gvimrc
install.sh
tmux.conf
vimrc
zlogin
zshrc

README.md

thoughtbot dotfiles

Install

Fork this repo on Github.

Clone your fork (replace your-github-name with your Github name).

git clone git@github.com:your-github-name/dotfiles.git
cd dotfiles

Run the installer.

./install.sh

It creates symlinks for all dotfiles in your home directory. You can safely run this file multiple times to update.

Included are zsh dotfiles. To switch your shell to zsh on OS X:

chsh -s /bin/zsh

Why fork?

Your master branch is meant for your customizations. Use the upstream branch to get thoughtbot's updates.

Set up upstream

Do this once:

git remote add upstream git@github.com:thoughtbot/dotfiles.git
git fetch upstream
git checkout -b upstream upstream/master

Update upstream

Make changes in files that are not in thoughtbot's dotfiles.

For example, to customize your zsh config, make your changes in ~/.zshenv:

# RVM
[[ -s '/Users/croaky/.rvm/scripts/rvm' ]] && source '/Users/croaky/.rvm/scripts/rvm'

# recommended by brew doctor
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"

Commit those kinds of things in your master branch.

Then, each time you want to update thoughtbot's changes.

git checkout upstream
git pull
git checkout master
git rebase upstream