Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Selected dotfiles
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.httpie
.irssi
.iterm
.janus
.rspec-formatters
bin
.gemrc
.gitconfig
.gitignore
.gitignore_global
.gitmodules
.gvimrc
.gvimrc.after
.irbrc
.less_termcap
.path
.powconfig
.profile
.pryrc
.rdebugrc
.rspec
.vimrc
.vimrc.after
.vimrc.before
.zshrc
README.md

README.md

homeconfig

Selected dotfiles, managed by git without symlinks or a home dir that's a git repository.

For background and information on how to set this up for your own dotfiles see Sursolid's "Managing home dotfiles with git and github" where this approach was shamelessly cribbed from.

In summary: homeconfig is aliased to git, but with the respository data in ~/.homeconfig.git rather than ~/.git

Features

  • Files live in their native locations (no symbolic linking)
  • Home directory is not a git repo
  • All the power of git with a simple alias

Setup

Prerequisites:

  • zsh
  • git

My setup depends on a fork of Robby Russell's oh-my-zsh for access to my zsh theme:

$ git clone https://github.com/rahim/oh-my-zsh ~/.oh-my-zsh
$ chsh -s /bin/zsh

To setup homeconfig itself to manage dotfiles:

$ cd ~
$ git clone git@github.com:rahim/homeconfig.git
$ mv homeconfig/.git .homeconfig.git
$ shopt -s dotglob
$ mv -i homeconfig/* .
$ rmdir homeconfig

Further steps for a personal ruby/vim environment:

  • install rbenv (ruby/rake is required by janus)

    $ git clone git://github.com/sstephenson/rbenv.git ~/.rbenv

  • install ruby-build

    $ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build

  • install a preferred ruby, set it global

    $ rbenv install 2.0.0 $ rbenv global 2.0.0

  • install janus

    $ curl -Lo- https://bit.ly/janus-bootstrap | bash

Updates

It's just git:

$ homeconfig pull

Additions

It's still just git:

$ homeconfig add .nyanconfig
$ homeconfig commit -m "Added nyan config"
$ homeconfig push
Something went wrong with that request. Please try again.