From fed30b1b36e4197beafceb09da1d6273fb0c30a6 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 7 Jan 2021 15:15:09 +0100 Subject: [PATCH] Fix theme dir hint in --list-themes output --- src/bin/bat/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index e2862fe9..c3ae75ae 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -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() {