fish-shell/share
Fabian Homborg a4f55d95d4 Detect GNU make via "--version"
Turns out that `make -pn` actually takes a while - about 300ms on
fish's makefile.

That's quite a bit of time just to throw away the output and use the
exit code.

So we just check for "GNU" in the version string.

It would be nice to just _do_ the completion and fall back on the
BSD-style if it doesn't work, but that is tricky to do with the pipe
to `awk` - the awk expression actually does not fail if `make` does
not print output.

And I don't know enough about awk to change that.
2018-05-11 16:16:14 +02:00
..
completions Revert "Use git ls-files to generate completions for git" 2018-05-11 16:00:45 +02:00
functions Detect GNU make via "--version" 2018-05-11 16:16:14 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Remove ^ redirection from sample prompts 2018-04-28 18:16:35 +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 Restore . alias for source 2018-05-09 16:51:52 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00