Add extra themes help to output

This commit is contained in:
Nicholas L 2020-10-29 21:40:32 +00:00 committed by David Peter
parent 877d9120c9
commit 3acfe790b9
1 changed files with 8 additions and 0 deletions

View File

@ -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(())
}