Fix catbat
pager typo.
`bat` is known as `batcat` on Ubuntu and Debian, not `catbat`.
This commit is contained in:
parent
a1f2999536
commit
15528b2d6c
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ fn show_md_content_with_pager(content: &str, color: ColorConfig) {
|
|||
cmd.arg("-R");
|
||||
true
|
||||
} else {
|
||||
["bat", "catbat", "delta"].iter().any(|v| *v == pager_name)
|
||||
["bat", "batcat", "delta"].iter().any(|v| *v == pager_name)
|
||||
};
|
||||
|
||||
if color == ColorConfig::Never {
|
||||
|
|
Loading…
Add table
Reference in a new issue