Skip to content

Commit

Permalink
README.md: Mention that PAGER is ignored if set to more or most
Browse files Browse the repository at this point in the history
  • Loading branch information
Enselic committed Jun 5, 2021
1 parent 49f8bbf commit f366bbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

**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
`PAGER`/`BAT_PAGER` variables:

Expand Down

0 comments on commit f366bbe

Please sign in to comment.