@@ -26,7 +26,7 @@ impl OutputType {
2626 .or_else(|_| env::var("PAGER"))
2727 .unwrap_or(String::from("less"));
2828
29− let mut process = if pager == "less" {
29+ let mut process = if pager == "less" || pager.ends_with("/less") {
3030 let mut args = vec!["--RAW-CONTROL-CHARS", "--no-init"];
3131 if quit_if_one_screen {
3232 args.push("--quit-if-one-screen");