diff --git a/share/functions/__fish_anypager.fish b/share/functions/__fish_anypager.fish index 0d9bc2d99..7426c5911 100644 --- a/share/functions/__fish_anypager.fish +++ b/share/functions/__fish_anypager.fish @@ -17,7 +17,7 @@ function __fish_anypager --description "Print a pager to use" end # Cheesy hardcoded list of pagers. - for cmd in less bat lv most more + for cmd in less lv most more if command -q $cmd echo -- $cmd return 0