]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - setup.sh
283a8ee531213f52d0e4415266593a98dea12fd8
[config/dotfiles.git] / setup.sh
1 #!/bin/sh
2
3 # Setup script for VCS configuration files.
4
5
6 . ../lib.sh
7
8 # Generate gitconfig.
9 m4 gitconfig -DHOME=$HOME -DOS=`os`
10
11 # Link setup.
12 link gitconfig ~/.gitconfig
13 link gitignore ~/.gitignore
14 if installed hg; then
15     link hgrc ~/.hgrc
16     link hgignore ~/.hgignore
17 fi