From 3acfe790b94bac518d19cb75540ba56a83976d36 Mon Sep 17 00:00:00 2001 From: Nicholas L Date: Thu, 29 Oct 2020 21:40:32 +0000 Subject: [PATCH] Add extra themes help to output --- src/bin/bat/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index 50c39371..0be0de7e 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -205,6 +205,14 @@ pub fn list_themes(cfg: &Config) -> Result<()> { writeln!(stdout, "{}", theme)?; } } + writeln!( + stdout, + "Further themes can be installed to '{}/themes', \ + and are added to the cache with `bat cache --build`. \ + For more information, see:\n\n \ + https://github.com/sharkdp/bat#adding-new-themes", + config_file().to_string_lossy() + )?; Ok(()) }