X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=0f93a8c9864eb33b4849d8d032503d1a1dd36874;hb=1ac8cbd79e9fd2af79c76ae0bfc6128ae1754759;hp=c2b3bb991526a65ae78e7058ef11729cc0a69d46;hpb=95ec5924a6c2597f1b1a15aa9d6afcfe18bee222;p=config%2Fdotfiles.git 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