X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=vcs%2Fsetup.sh;h=8ea39ac39c5b1f81a1f266203a70dbf1e0038d51;hp=664f938058b015881113d25f75b84854a7895be0;hb=a474f0d3bccfcba379044b2bb6447d35ff4a14c6;hpb=f2c6086838bcdf795c3322c27d78a6bfc49c9d4b diff --git a/vcs/setup.sh b/vcs/setup.sh index 664f938..8ea39ac 100755 --- a/vcs/setup.sh +++ b/vcs/setup.sh @@ -54,6 +54,11 @@ if installed git; then fi if installed tig; then + generate tigrc .in cat + if tig --version | grep '^tig version 2\.[012]' >/dev/null; then + echo 'tigrc: removing history options' + grep_i -v '^set history-size = ' tigrc + fi link tigrc ~/.tigrc fi