]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - setup.sh
setup.sh: Use generate().
[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 generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os`
10
11 # Link setup.
12 link gitconfig ~/.gitconfig
13 if installed hg; then
14     link hgrc ~/.hgrc
15     link hgignore ~/.hgignore
16 fi