diff --git a/rc/env.sh b/rc/env.sh index 31c1796..2bdcefc 100644 --- a/rc/env.sh +++ b/rc/env.sh @@ -4,6 +4,10 @@ export EDITOR=vim # https://docs.microsoft.com/en-us/dotnet/core/tools/telemetry export DOTNET_CLI_TELEMETRY_OPTOUT=1 +if ! can_run bat && can_run batcat; then + alias bat=batcat +fi + if can_run bat; then export MANPAGER="sh -c 'col -bx | bat -l man -p'" fi