Fabian Boehm 3ac531785e Add __fish_anypager helper
This makes it easier to get *any pager* in the number of places we do.

Unfortunately:

1. It can't just execute the pager because that might block
2. We can't really set the necessary options for less here
   so they still need to be set outside.

This

Fixes #10074

by falling back to `cat` in that case. We could also decide to abort
instead of using a non-pager, but for history that's probably fine.

(cherry picked from commit ed489d0d5272f0343f25cecc9c0e4fbb4fe2a0d1)
2023-12-30 23:15:40 +08:00
..
2023-12-30 10:18:30 +01:00
2023-12-30 23:15:40 +08:00