X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=d13b36fa27cc468efd33ae23ec851816a1b9053c;hb=34380350ab6a9207aa210cf8bdc23618d10b0fff;hp=fab36587ab10df2d6c53d4bbb5f0db801c0d5606;hpb=eeffb4dd1023afabde1b611f353ccb83bd48a00e;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index fab3658..d13b36f 100755 --- a/setup.sh +++ b/setup.sh @@ -5,10 +5,17 @@ . ../lib.sh -generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` -link gitconfig ~/.gitconfig +if installed git; then + generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` + link gitconfig ~/.gitconfig +fi + +if installed tig; then + link tigrc ~/.tigrc +fi if installed hg; then + generate m4 hgrc -DOS=`os` link hgrc ~/.hgrc link hgignore ~/.hgignore fi