Fix theme dir hint in --list-themes output
commitfed30b1b36e4197beafceb09da1d6273fb0c30a6
authorCsaba Henk <csaba@lowlife.hu>
dateThu 7 Jan 2021, 15:15 (6 years ago)
parent411d68e
src/bin/bat/main.rs+1−1
@@ -205,7 +205,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
205205 and are added to the cache with `bat cache --build`. \
206206 For more information, see:\n\n \
207207 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()
209209 )?;
210210 } else {
211211 for theme in assets.themes() {