fish-shell/share
Mahmoud Al-Qudsi 7db0958804 Add __fish_can_complete_switches & __fish_should_complete_switches
To be used by completions to directly determine whether it is either
possible or preferable to complete a switch (instead of a subcommand),
(presuming that switches must come before subcommands).

* __fish_can_complete_switches: we are in a position where a switch may
be placed.
* __fish_should_complete_switches: we're in a position to accept a
switch and the current token starts with `-` so we have no choice but
to do so.
2018-04-19 18:09:10 -05:00
..
completions completions: [git] Don't try to complete files when not in a repo 2018-04-19 17:15:21 +02:00
functions Add __fish_can_complete_switches & __fish_should_complete_switches 2018-04-19 18:09:10 -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 add job expansion wrapper for disown 2018-04-19 00:13:16 -05:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00