fish-shell/share
Mahmoud Al-Qudsi 9d9afd8264 Speed up ./configure completion by not running ./configure --help
Instead, attempt to extract the message that _would_ be displayed on
execution of `./configure --help` by relying on some markers present in
autoconf-generated configure files.

As measured with 'hyperfine' on a laptop running in reduced frequency
power savings mode, `fish -c "__fish_parse_configure ./configure"`
runtime dropped from ~1.25s to ~0.8ms, which is inline with the
previously observed ~350ms execution time for `./configure --help`.
fish's own startup time is approximately 75ms before parsing begins.

Still very slow, but much better.
2018-04-18 15:40:52 -05:00
..
completions Add real completions for ./configure 2018-04-17 21:35:51 -05:00
functions Speed up ./configure completion by not running ./configure --help 2018-04-18 15:40:52 -05:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Use system web browser under WSL 2018-04-02 18:36:14 -05: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 Stop echo from swallowing passthrough arguments 2018-04-14 23:19:25 -05:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00