]> code.delx.au - dotfiles/blob - README
Vim: Use display line macros for visual select.
[dotfiles] / README
1 This is a set of configuration files for a bunch of Unix apps I use regularly.
2
3 The way I usually use this is as follows. Change the lines as appropriate for
4 your system.
5
6 Install Mercurial:
7 $ sudo apt-get install mercurial
8
9 Change into your home directory and make a clone of the repository:
10 $ cd
11 $ hg clone http://delx.cjb.net/hg/hgdotfiles-generic .hgdotfiles-computername
12
13 Make a backup of any existing files:
14 $ mkdir backup
15 $ mv .bash* .ssh .vim* .Xresources .xscreensaver .screenrc .pythonrc.py .inputrc .ssh backup
16
17 Symlink the config files into your home directory:
18 $ for f in $(ls -A .hgdotfiles-computername); do ln -s .hgdotfiles-computername/$i .; done
19 $ rm .hg .hgignore
20
21
22 You're done now. You probably want to move your ssh keys back into ~/.ssh
23 (which now links to ~/.hgdotfiles-computername/.ssh), as well as add a few
24 machine specific configs to the bash init scripts.
25
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.
29
30 For OSX/BSD you probably want to look at http://delx.net.au/hg/hgdotfiles-macosx
31
32 Here are some good Mercurial tutorials:
33 http://hgbook.red-bean.com/
34 http://www.selenic.com/mercurial/wiki/index.cgi/QuickStart
35