mirror of
https://github.com/sharkdp/bat.git
synced 2025-04-14 14:50:40 +01:00
README.md: Mention that PAGER is ignored if set to more or most
Fixes #1666
This commit is contained in:
parent
71f04dc0e8
commit
c8dd32802d
@ -516,6 +516,8 @@ set, `less` is used by default. If you want to use a different pager, you can ei
|
|||||||
`PAGER` variable or set the `BAT_PAGER` environment variable to override what is specified in
|
`PAGER` variable or set the `BAT_PAGER` environment variable to override what is specified in
|
||||||
`PAGER`.
|
`PAGER`.
|
||||||
|
|
||||||
|
**Note**: If `PAGER` is `more` or `most`, `bat` will silently use `less` instead to ensure support for colors.
|
||||||
|
|
||||||
If you want to pass command-line arguments to the pager, you can also set them via the
|
If you want to pass command-line arguments to the pager, you can also set them via the
|
||||||
`PAGER`/`BAT_PAGER` variables:
|
`PAGER`/`BAT_PAGER` variables:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user