fish-shell/doc_src
Fabian Homborg 903b7888d3 complete: Make -c optional
Currently, completions have to be specified like

```fish
complete -c foo -l opt
```

while

```fish
complete foo -l opt
```

just complains about there being too many arguments.

That's kinda useless, so we just assume if there is one left-over
argument that it's meant to be the command.

Theoretically we could also use *all* the arguments as commands to
complete, but that seems unlikely to be what the user wants.

(I don't think multi-command completions really happen)
2020-09-09 20:23:08 +02:00
..
_static docs: use parsed-literal to highlight interactive examples 2020-08-02 14:22:29 -07:00
cmds complete: Make -c optional 2020-09-09 20:23:08 +02:00
CHANGELOG.rst Add CHANGELOG to the docs 2020-05-30 10:07:21 +02:00
commands.rst We no longer have two doc systems, move sphinx_doc_src back to doc_src 2020-02-19 17:00:35 -08:00
completions.rst docs: don't quote code snippets 2020-04-13 22:56:22 +02:00
conf.py Add CHANGELOG to the docs 2020-05-30 10:07:21 +02:00
design.rst docs: fix small formatting issues 2020-08-07 22:05:05 +08:00
faq.rst Adjust the FAQ 2020-08-21 20:46:23 +02:00
fish_for_bash_users.rst docs: Add word splitting example 2020-07-09 18:35:41 +02:00
fish_indent_lexer.py We no longer have two doc systems, move sphinx_doc_src back to doc_src 2020-02-19 17:00:35 -08:00
index.rst Fix hybrid binding instructions 2020-08-28 20:50:24 +02:00
license.rst chore: bump copyright year 2019 → 2020 2020-03-14 14:03:09 -07:00
tutorial.rst docs: Fix background color for interactive examples 2020-09-04 19:46:38 +02:00