djcp / dotfiles

Configuration files used by thoughtbot developers

Home Page:http://robots.thoughtbot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Configuration files used by thoughtbot developers

http://robots.thoughtbot.com


Languages

Language:Shell 69.9%Language:Vim Script 29.5%Language:Roff 0.6%