Skip to content

bradcolbow/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dotfiles Setup

How to setup on a new machine

Prerequisites

  • Git (1.7+)
  • Vim (7.3+) - MacVim installed via Homebrew
  • Kaleidoscope - Gitconfig points to this app for diffs

The Setup

Create the dotfiles directory

$ mkdir .dotfiles
$ git clone [email protected]:bdielman/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles

Register and clone the Vim bundles

# Register the submodules
$ git submodule init
# Clone the submodules
$ git submodule update

Add new submodules

# 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"

Symlink the new files to HOME

$ bash symlinkit.sh

Running the symlinkit script will delete (if they already exist) and recreate the symlinks in HOME.

Update all submodules at once

# Navigate to your dotfiles directory
$ cd ~/.dotfiles
# Run this one line in bash
$ git submodule foreach git pull origin master

Acknowledgements

I have a few people to thank for help and inspiration in getting this up and running:

About

My dotfiles setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published