fish-shell/share
Aaron Gyes 007d794b6e history: improve interactive pager experience
- Colorize history search output when interactive, using
  fish_indent. This is the same way we colorize `type` output.

- Ask less to act like `cat` if the output will fit in the
  terminal window, so it's less jaring with short output.

- history is viewed in a pager when interactive, but pagers
  typically strip escape codes. We accomplish the above by
  doing exactly what `git` does[1] when it has colored output
  for a pager:
        if $LESS is unset, set it to enable -R, -F, and -X options.
	if $LV is unset, set it to -c.

[1]: 398dd4bd03/pager.c (L87)
2018-11-20 05:01:12 -08:00
..
completions Rename string escape --style=pcre2 to string escape --style=regex 2018-11-16 20:22:06 -06:00
functions history: improve interactive pager experience 2018-11-20 05:01:12 -08:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Fix the total page count in the history tab 2018-09-22 11:58:29 +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 fixup! Add /fish to $__fish_config_dir 2018-10-21 17:20:21 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00