1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-03-14 06:38:24 +00:00

Use platform based path concatenation

This commit is contained in:
Nicholas L 2020-10-29 21:51:32 +00:00 committed by David Peter
parent 3acfe790b9
commit 8e8131590c

View File

@ -207,11 +207,11 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
} }
writeln!( writeln!(
stdout, stdout,
"Further themes can be installed to '{}/themes', \ "Further themes can be installed to '{}', \
and are added to the cache with `bat cache --build`. \ and are added to the cache with `bat cache --build`. \
For more information, see:\n\n \ For more information, see:\n\n \
https://github.com/sharkdp/bat#adding-new-themes", https://github.com/sharkdp/bat#adding-new-themes",
config_file().to_string_lossy() config_file().join("themes").to_string_lossy()
)?; )?;
Ok(()) Ok(())