X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=setup.sh;h=abdbc652f51d3590d9d0e7a7f585380900e0ed8c;hb=7ae5d9ba71e8eaafaf82d31dba7cd4c2d759ad03;hp=283a8ee531213f52d0e4415266593a98dea12fd8;hpb=9bcf06594b3f91b9c7fb7e4c1e1595c3d3950600;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 283a8ee..abdbc65 100755 --- a/setup.sh +++ b/setup.sh @@ -5,12 +5,13 @@ . ../lib.sh -# Generate gitconfig. -m4 gitconfig -DHOME=$HOME -DOS=`os` - -# Link setup. +generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` link gitconfig ~/.gitconfig -link gitignore ~/.gitignore + +if installed tig; then + link tigrc ~/.tigrc +fi + if installed hg; then link hgrc ~/.hgrc link hgignore ~/.hgignore