Based on Paul Irish's dotfiles