on master help sign in
Fix theme dir hint in --list-themes output
fed30b1Csaba Henk
src/bin/bat/main.rs+1−1
@@ -205,7 +205,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
205 and are added to the cache with `bat cache --build`. \
205 and are added to the cache with `bat cache --build`. \
206 For more information, see:\n\n \
206 For more information, see:\n\n \
207 https://github.com/sharkdp/bat#adding-new-themes",
207 https://github.com/sharkdp/bat#adding-new-themes",
208− config_file().join("themes").to_string_lossy()
208+ PROJECT_DIRS.config_dir().join("themes").to_string_lossy()
209 )?;
209 )?;
210 } else {
210 } else {
211 for theme in assets.themes() {
211 for theme in assets.themes() {