mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 00:58:00 +01:00
Fix catbat
pager typo.
`bat` is known as `batcat` on Ubuntu and Debian, not `catbat`.
This commit is contained in:
parent
a1f2999536
commit
15528b2d6c
@ -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…
Reference in New Issue
Block a user