Fabian Boehm
5dc07c9e7e
completions: More shortening
...
Also removes a few deprecated options - there's really no need to
offer these.
2024-05-16 18:29:42 +02:00
Johannes Altmanninger
29f35d6cdf
completion: adopt commandline -x replacing deprecated -o
...
This gives us more accurate completions because completion scripts get
expanded paths
2024-01-27 09:28:06 +01:00
Johannes Altmanninger
13edce3671
share/**.fish: reformat with fish_indent
2022-02-07 20:53:55 +01:00
Daniil Baturin
f254692759
completions/opam: add completions for "opam switch"
2021-12-30 22:33:45 +01:00
Ilan Cosman
30400f3ced
Use test command instead of bracket command
2021-11-26 16:55:50 -08:00
Johannes Altmanninger
49c5f96470
Use set -l to force use of a local variable
...
Bare set overwrites a global/universal variable if it exists.
2020-05-15 08:25:07 +02:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Fabian Homborg
ce245704d7
Reformat completion scripts
...
These were excluded from style.fish
2019-05-05 12:53:09 +02:00
Aaron Gyes
68527ff20c
completions: --description -> -d
...
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00
Fabian Homborg
5e555fc1cf
Completions: Don't check $cmd[1]
...
This is already done by fish before calling the completion.
It breaks completion with combiners (#2025 ) and also with wrappers.
(This does not include git because that's better solved in #2145 )
2015-08-17 12:29:03 +02:00
Vincent Huang
15ca3b426f
Added some completions for opam
...
All opam subcommands and descriptions are covered, along with
all the flags that are common to all commands. However, only
`opam config` has complete subsubcommand coverage.
2014-09-29 14:34:07 +08:00