1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Add customization chapter

This commit is contained in:
sharkdp
2018-04-30 16:03:33 +02:00
parent 95a2079bcd
commit 64ef61b409
4 changed files with 39 additions and 3 deletions

View File

@@ -368,7 +368,8 @@ fn run() -> Result<()> {
true_color: is_truecolor_terminal(),
};
let assets = HighlightingAssets::from_binary();
let assets =
HighlightingAssets::from_cache().unwrap_or(HighlightingAssets::from_binary());
let theme = assets.theme_set.themes.get("Default").ok_or_else(|| {
io::Error::new(