fish-shell/share
Mahmoud Al-Qudsi 06317f0a98 Optimize __fish_print_hostnames hosts file loading/parsing
Reordering the `getent hosts` and read from `/etc/hosts` combined with
minimizing shelling and job invocations for parsing the output results
in a profiled and benchmarked ~42% decrease in the time it takes to run,
and that's on a machine with a very small hosts list in the first place.

This update also fixes the hadling of IPv6 addresses in the hosts
output, which were previously ignored, and ignores 127.* loopback
addresses in addition to the 0.0.0.0 address (plus adds support for
shorter IPv4 notations).
2019-09-05 22:44:09 -05:00
..
completions fix compatibility with BSD sed 2019-09-03 15:35:04 +08:00
functions Optimize __fish_print_hostnames hosts file loading/parsing 2019-09-05 22:44:09 -05:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Fix status code coloring for nim prompt 2019-07-07 19:36:17 +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