fish-shell/share
Fabian Homborg 43df5ba828 completions: Stop checking for command existence
Since 4414d5c888 (in fish 3.0.0) we
don't autoload completions if the command doesn't exist.

So there is no need to check inside the scripts anymore.

Whats more, a few (like pip and cabal) checked `command -q` instead of
`type -q`, meaning they'd fail if someone used a function instead of a
command of that name.

If the *command* actually needs to exist, checks like that are still
warranted, like in `npm` where aliasing it to `nvm` is popular.

A teensy additional bit: Make `sysctl -w` the same as `sysctl
--write`. That description was bogus.
2020-05-18 20:48:36 +02:00
..
completions completions: Stop checking for command existence 2020-05-18 20:48:36 +02:00
functions __fish_prepend_sudo: Toggle "sudo" on multiple presses (#7012) 2020-05-17 11:15:15 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Use set -l to force use of a local variable 2020-05-15 08:25:07 +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 Add another test for Konsole 2020-04-25 18:01:43 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00