lengyijun
aa65856ee0
Fixes #8924 via __fish_complete_suffix
overhaul
...
Before:
* hand write arg parse
* only accepts one suffix
After:
* use `arg_parse` to parse args
* accepts multi suffixes
Closes #9611 .
2023-03-12 22:07:44 -05:00
Terje Larsen
2cd063e28b
Add curl request method argument completion
2022-11-18 12:47:28 -06:00
Caroleq
9fe2b27bba
Shorten description in completions ( #7788 )
...
* Fix long descriptions in completions
* PR review modifications
2021-03-09 20:28:25 +01:00
Johannes Altmanninger
4dae106911
Use complete --keep-order with __fish_complete_suffix to prioritize files with matching suffixes
...
Part of #7040
2020-12-23 19:14:10 +01:00
Fabian Homborg
d48eb56aea
Improve curl completions
...
Just a bunch of rewriting descriptions and some arguments.
Most arguments here are uncompleteable, and most of these options will
never be used.
[ci skip]
2019-02-16 17:01:02 +01:00
Fabian Homborg
dbeaa0c8de
Add curl completion
...
Mostly copying the autogenerated stuff with some light description
cleanup.
Fixes #5664 .
[ci skip]
2019-02-16 16:40:13 +01:00
Mahmoud Al-Qudsi
4d909b1c19
Add partial completions for curl, supporting @file syntax
...
Allows the most painful of curl's arguments to be completed by fish by
restoring file-based completions for paths prefixed with `@` (which are
typically used after parameters like --data).
2018-06-18 23:56:22 -05:00