1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-05 18:31:06 +01:00

Fix theme dir hint in --list-themes output

This commit is contained in:
Csaba Henk 2021-01-07 15:15:09 +01:00 committed by David Peter
parent 411d68e839
commit fed30b1b36

View File

@ -205,7 +205,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
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().join("themes").to_string_lossy()
PROJECT_DIRS.config_dir().join("themes").to_string_lossy()
)?;
} else {
for theme in assets.themes() {