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