X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=setup.sh;h=c5406e6b6ce06b5d02c376b12495e9602d1ae447;hb=020f30113df431a611f9a6ec9d963f1da38bb8ec;hp=1be636c42c91e50bc47ec3d08cfc832fca567259;hpb=4bcae02cfd13f42ff10cfef0f6400b98b73de336;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 1be636c..c5406e6 100755 --- a/setup.sh +++ b/setup.sh @@ -116,6 +116,11 @@ generate perl shell/aliases \ }' \ "$ls_env" "$ls_path" "$ls_color" "$column" +# If `tig` is not available use my simple replacement. +if ! installed tig; then + echo "alias tig='git tig'" >>shell/aliases +fi + # Check if grep supports --color=auto. if echo test | grep --color=auto test >/dev/null 2>&1; then :