fish-shell/share
Johannes Altmanninger 61486954bc Use a pager to view long outputs of builtin --help
Every builtin or function shipped with fish supports flag -h or --help to
print a slightly condensed version of its manpage.
Some of those help messages are longer than a typical screen;
this commit pipes the help to a pager to make it easier to read.

As in other places in fish we assume that either $PAGER or "less" is a
valid pager and use that.

In three places (error messages for bg, break and continue) the help is
printed to stderr instead of stdout.  To make sure the error message is
visible in the pager, we pass it to builtin_print_help, every call of which
needs to be updated.

Fixes #6227
2019-10-28 18:36:07 +01:00
..
completions completions/btrfs.fish: Format options list 2019-10-27 16:47:48 -07:00
functions Use a pager to view long outputs of builtin --help 2019-10-28 18:36:07 +01:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Add termux support for fish_config. 2019-10-26 18:16:54 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Make sure nop command always suceeds 2019-08-03 18:14:12 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00