I am really, really tired of hopping onto a new Linux box and having to configure my .vimrc, .vim/plugin/, .bashrc, bin/, and so on. I keep meaning to sit down and write a script which will do all of that for me, but I don't for the simple reason that I really only hit this problem once every couple of years. Then when I do hit this problem, it's usually for several boxes at once. How frickin' annoying.
I've been keeping my entire home directory under version control for a few years now, and it works great. When I connect to a new machine for the first time, I simply do:
cvs -d:blah:blah:blah co HOME
And I get my full home directory, with all of my configs and so on, right away. There's a small quirk though, in that this checks HOME out into a directory called HOME, but I follow it up with:
(cd ./HOME; tar cf - .) | tar xf - ; rm -fr ./HOME
This copies the CVS directories too, so update and commit work as expected. I've been contemplating moving to subversion (see the article below), but I really have no complaints with CVS (although Subversion would allow me to check it out into
ONLamp.com had an article about this a few years ago. The article and comments have tons of good advice.
Re:Version control!
petdance on 2006-06-22T16:07:32
I use Subversion. It has no problems being in the home directory.svn co svn+ssh://andy@svn.petdance.com/svn/home .