on master help sign in
Add extra themes help to output
commit3acfe790b94bac518d19cb75540ba56a83976d36 authorNicholas L <nicholas-l@users.noreply.github.com> dateThu 29 Oct 2020, 21:40 (6 years ago) parent877d912
1 file changed+8
src/bin/bat/main.rs+8
src/bin/bat/main.rs+8
@@ -205,6 +205,14 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
205205 writeln!(stdout, "{}", theme)?;
206206 }
207207 }
208+ writeln!(
209+ stdout,
210+ "Further themes can be installed to '{}/themes', \
211+ and are added to the cache with `bat cache --build`. \
212+ For more information, see:\n\n \
213+ https://github.com/sharkdp/bat#adding-new-themes",
214+ config_file().to_string_lossy()
215+ )?;
208216
209217 Ok(())
210218}