- Git (1.7+)
- Vim (7.3+) - MacVim installed via Homebrew
- Kaleidoscope - Gitconfig points to this app for diffs
$ mkdir .dotfiles
$ git clone [email protected]:bdielman/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
# Register the submodules
$ git submodule init
# Clone the submodules
$ git submodule update
# Add the submodule
$ git submodule add git://example.com/remote/path/to/repo.git vim/bundle/one-submodule
# Stage the changes
$ git add vim/bundle/one-submodule
# Commit the changes
$ git commit -m "Add a new submodule: one-submodule"
$ bash symlinkit.sh
Running the symlinkit script will delete (if they already exist) and recreate the symlinks in HOME.
# Navigate to your dotfiles directory
$ cd ~/.dotfiles
# Run this one line in bash
$ git submodule foreach git pull origin master
I have a few people to thank for help and inspiration in getting this up and running: