From 8e8131590ca9922c996c33ad7a5076f57a619e42 Mon Sep 17 00:00:00 2001 From: Nicholas L Date: Thu, 29 Oct 2020 21:51:32 +0000 Subject: Use platform based path concatenation --- src/bin/bat/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/bat/main.rs b/src/bin/bat/main.rs index 0be0de7e..eb6f75bc 100644 --- a/src/bin/bat/main.rs +++ b/src/bin/bat/main.rs @@ -207,11 +207,11 @@ pub fn list_themes(cfg: &Config) -> Result<()> { } writeln!( stdout, - "Further themes can be installed to '{}/themes', \ + "Further themes can be installed to '{}', \ 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().to_string_lossy() + config_file().join("themes").to_string_lossy() )?; Ok(()) -- cgit v1.2.3