diff options
author | Nicholas L <nicholas-l@users.noreply.github.com> | 2020-10-29 21:51:32 +0000 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-10-30 08:04:14 +0100 |
commit | 8e8131590ca9922c996c33ad7a5076f57a619e42 (patch) | |
tree | f387af4eaa4fbee899b80c16767b3f4b0bdc5999 | |
parent | 3acfe790b94bac518d19cb75540ba56a83976d36 (diff) |
Use platform based path concatenation
-rw-r--r-- | src/bin/bat/main.rs | 4 |
1 files 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(()) |