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:
parent
3acfe790b9
commit
8e8131590c
@ -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(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user