From c8dd32802de64ecb889bee34fe3e2211c092aac3 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sat, 5 Jun 2021 22:47:17 +0200 Subject: [PATCH] README.md: Mention that PAGER is ignored if set to more or most Fixes #1666 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d48a17e3..a2ed218b 100644 --- a/README.md +++ b/README.md @@ -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: