1 This is a set of configuration files for a bunch of Unix apps I use regularly.
3 The way I usually use this is as follows. Change the lines as appropriate for
7 $ sudo apt-get install mercurial
9 Change into your home directory and make a clone of the repository:
11 $ hg clone http://delx.cjb.net/hg/hgdotfiles-generic .hgdotfiles-computername
13 Make a backup of any existing files:
15 $ mv .bash* .ssh .vim* .Xresources .xscreensaver .screenrc .pythonrc.py .inputrc .ssh backup
17 Symlink the config files into your home directory:
18 $ for f in $(ls -A .hgdotfiles-computername); do ln -s .hgdotfiles-computername/$i .; done
22 Your done now. You probably want to move your ssh keys back into ~/.ssh (which
23 now links to ~/.hgdotfiles-computername/.ssh), as well as add a few machine
24 specific configs to the bash init scripts.
26 Create files in ~/.bash called environment_local, interactive_local, etc to
27 do this. Also, learn how to use Mercurial and use it to version control other
28 configure files of yours.
30 Here are some good Mercurial tutorials:
31 http://hgbook.red-bean.com/
32 http://www.selenic.com/mercurial/wiki/index.cgi/QuickStart