From 60406c7c2d581cb9110e02e7388e405afc831557 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Fri, 1 Jan 2021 23:17:56 +0100 Subject: [PATCH] Exhaustive list of relevant environment variables --- src/bin/bat/main.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index 97690a8d..bdde0fa2 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -237,11 +237,17 @@ fn run() -> Result { .info(EnvironmentVariables::list(&[ "SHELL", "PAGER", - "BAT_PAGER", + "BAT_CACHE_PATH", "BAT_CONFIG_PATH", + "BAT_OPTS", + "BAT_PAGER", "BAT_STYLE", - "BAT_THEME", "BAT_TABS", + "BAT_THEME", + "XDG_CONFIG_HOME", + "XDG_CACHE_HOME", + "COLORTERM", + "NO_COLOR", ])) .info(FileContent::new("Config file", config_file())) .info(CompileTimeInformation::default())