Skip to content

eheyne/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dotfiles Setup

How to setup on a new machine

Prerequisites

  • Git (1.7+)
  • Vim (7.3+) - MacVim installed via Homebrew

The Setup

Create the dotfiles directory in your ~ (users folder)

$ cd ~
$ git clone git@github.com:eheyne/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

ln -s ~/dotfiles/.bashrc .bashrc
ln -s ~/dotfiles/.bash_profile .bash_profile
ln -s ~/dotfiles/.gitignore_global .gitignore_global
ln -s ~/dotfiles/.vim .vim
ln -s ~/dotfiles/.vimrc .vimrc
ln -s ~/dotfiles/.gitconfig .gitconfig

Install bash-completion

brew install git bash-completion

Install Silver Searcher

brew install the_silver_searcher

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

Configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published