Merge pull request #1589 from Enselic/include-less-in-diagnostic
Include LESS in --diagnostic
commit0b44aa6f68ab967dd5d74b7e02d306f2b8388928
authorEthan P <32112321+eth-p@users.noreply.github.com>
dateTue 6 Apr 2021, 16:03 (6 years ago)
parent4384d25aa09a9d
CHANGELOG.md+1
@@ -8,6 +8,7 @@
88## Other
99
1010- `Input::ordinary_file` and `Input::with_name` now accept `Path` rather than `OsStr` see #1571 (@matklad)
11+- The `LESS` environment variable is now included in `bat --diagnostic`, see #1589 (@Enselic)
1112- Increased min. required Rust version to 1.45
1213
1314## Syntaxes
src/bin/bat/main.rs+1
@@ -238,6 +238,7 @@ fn run() -> Result<bool> {
238238 .info(EnvironmentVariables::list(&[
239239 "SHELL",
240240 "PAGER",
241+ "LESS",
241242 "BAT_PAGER",
242243 "BAT_CACHE_PATH",
243244 "BAT_CONFIG_PATH",