0
0
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:
Nicholas Nethercote 2024-11-20 10:34:42 +11:00
parent a1f2999536
commit 15528b2d6c

View File

@ -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 {