diff options
author | Martin Nordholts <enselic@gmail.com> | 2021-06-05 22:47:17 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2021-06-08 07:13:46 +0200 |
commit | c8dd32802de64ecb889bee34fe3e2211c092aac3 (patch) | |
tree | 4b66d7e5182319b939a07051b91ecd4edc1c706b | |
parent | 71f04dc0e835b097f606e1b12c56e78ac1efe516 (diff) |
README.md: Mention that PAGER is ignored if set to more or most
Fixes #1666
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |