--diagnostic: add MANPAGER environment variable
commitc5c28eb05b89e8dc095da1593b63ea53862800c8
authorsharkdp <davidpeter@web.de>
dateSat 9 Jan 2021, 21:28 (6 years ago)
parent2292453
src/bin/bat/main.rs+2−1
@@ -237,10 +237,10 @@ fn run() -> Result<bool> {
237237 .info(EnvironmentVariables::list(&[
238238 "SHELL",
239239 "PAGER",
240+ "BAT_PAGER",
240241 "BAT_CACHE_PATH",
241242 "BAT_CONFIG_PATH",
242243 "BAT_OPTS",
243− "BAT_PAGER",
244244 "BAT_STYLE",
245245 "BAT_TABS",
246246 "BAT_THEME",
@@ -248,6 +248,7 @@ fn run() -> Result<bool> {
248248 "XDG_CACHE_HOME",
249249 "COLORTERM",
250250 "NO_COLOR",
251+ "MANPAGER",
251252 ]))
252253 .info(FileContent::new("Config file", config_file()))
253254 .info(CompileTimeInformation::default())