mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
__fish_anypager: prefer less over other pagers
This is our traditional behavior; "man" and "git" do the same.
This commit is contained in:
parent
8c555505c0
commit
b83f3b0e98
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function __fish_anypager --description "Print a pager to use"
|
|||
end
|
||||
|
||||
# Cheesy hardcoded list of pagers.
|
||||
for cmd in bat lv most less more
|
||||
for cmd in less bat lv most more
|
||||
if command -q $cmd
|
||||
echo -- $cmd
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue