Instead, I will use bat if it's available, then fall back to the pager variable
If the pager is specified with a flag, this will take precidence
I am reluctant to make the pager use the environment variable by default because
bat cannot be set as the pager:
https://github.com/sharkdp/bat/pull/1343
Instead, I will use bat if it's available, then fall back to the pager variable
If the pager is specified with a flag, this will take precidence
Currently uses bat which adds a dependency. Would be much better to use
$PAGER
and fall back to
cat
which should be on most (if not all) systemsDo this the same way as editor where the user can specify a flag which overrides
the environment variable
I am reluctant to make the pager use the environment variable by default because
bat cannot be set as the pager:
https://github.com/sharkdp/bat/pull/1343
Instead, I will use bat if it's available, then fall back to the pager variable
If the pager is specified with a flag, this will take precidence