__           __                            
.--.--..----..-----.|  |--.______|  |--..-----..--------..-----.
|  |  ||  __||__ --||     |______|     ||  _  ||        ||  -__|
 \___/ |____||_____||__|__|      |__|__||_____||__|__|__||_____|

vcsh "home" repository. This repository is used with vcsh with the default directory layout, powered by mr.

vcsh allows you to have several git repositories, all maintaining their working trees in $HOME without clobbering each other. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine. <small>vcsh README file</small>

The default enabled repositories are mr (this one), sh (which contains the shell configuration [bash,zsh,…]) and vim.

The convention I used is the following for the vcsh/mr configuration (.vcsh) is to omit the -config fo the filename, e.g. sh = sh-config, …


You'll have to install mr and vcsh. On debian the packages are available for sid, wheezy and in the squeeze-backports.

# apt-get install -t squeeze-backports mr vcsh

<del>This repository currently depend on the hook_support branch of my vcsh fork on github. Maybe someday it'll be merged upstream. The master branch of my fork is merge with the hook_support.</del>

Using it

A branch is made for bootstraping the default configuration (with the vcsh hooks, etc…). If you like on-liner command, here is one for you.

$ bash < <(curl -s "")

How it is supposed to work

As previously said, this repository is kind of a skeleton for all of my others configuration repositories. The idea is :

  • You bootstrap this one (a little more stuff to do than just a git clone).
  • Then you clone other repositories with vcsh (vcsh clone git:// for example).
  • When you want to update, you have the choice :
  • vcsh pull to pull just the configuration repositories
  • mr u to pull the configuration repositories and their potential dependencies/externals..

As you can see in other configuration repository (like there is README file that won't be checked out by vcsh when cloning. As explaine there (#120), I just use together to hook feature of vcsh and the sparse-checkout feature of git.