mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Add --builtin=pager to readme, completions, and man pages
This commit is contained in:
1 parent
a470cebf32
commit
c29f1875d3
5 files changed
+15
-9
No files matched your search
@@ -635,9 +635,11 @@ syntax, use (this mapping is already built in):
|
||||
### Using a different pager
|
||||
|
||||
`bat` uses the pager that is specified in the `PAGER` environment variable. If this variable is not
|
||||
set, `less` is used by default. If you want to use a different pager, you can either modify the
|
||||
`PAGER` variable or set the `BAT_PAGER` environment variable to override what is specified in
|
||||
`PAGER`.
|
||||
set, `less` is used by default. You can also use bat's built-in pager with `--pager=builtin` or
|
||||
by setting the `BAT_PAGER` environment variable to "builtin".
|
||||
|
||||
If you want to use a different pager, you can either modify the `PAGER` variable or set the
|
||||
`BAT_PAGER` environment variable to override what is specified in `PAGER`.
|
||||
|
||||
>[!NOTE]
|
||||
> If `PAGER` is `more` or `most`, `bat` will silently use `less` instead to ensure support for colors.
|
||||
|
||||
Reference in new issue
Block a user