X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=setup.sh;h=0f93a8c9864eb33b4849d8d032503d1a1dd36874;hp=c2b3bb991526a65ae78e7058ef11729cc0a69d46;hb=1ac8cbd79e9fd2af79c76ae0bfc6128ae1754759;hpb=d5d7971c950917b711df9a0cd57269167713de68 diff --git a/setup.sh b/setup.sh index c2b3bb9..0f93a8c 100755 --- a/setup.sh +++ b/setup.sh @@ -55,7 +55,11 @@ if installed git; then fi if installed tig; then - link tigrc ~/.tigrc + if tig --version | grep -F 'tig version 1.' >/dev/null; then + link tigrc.old ~/.tigrc + else + link tigrc ~/.tigrc + fi fi if installed hg; then