Skip to content

rockwood/dotfiles

Repository files navigation

Rockwood's dotfiles

Installation

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/devel/dotfiles) The bootstrap script will create symlinks in your home folder.

git clone https://github.com/rockwood/dotfiles.git
cd dotfiles
source bootstrap.sh

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing

Here’s an example ~/.path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

Scripts

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

bash script/osx_setup

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

cd script
brew bundle

Run ssh setup

This will walk through creating an ssh key:

bash script/ssh_setup

Print bash colors

Helpful if you're tweeking your iTerm theme

bash script/colors

Author

twitter/kevinrockwood
Kevin Rockwood
twitter/mathias
Mathias Bynens

Thanks to…