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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user