Using zsh completion generated by clap, we can't autocomplete more than one file.
I tried the simple patch to add num_args = 1.. to the targets arg, but this was not enough, as in clap_complete we seem to also need subcommand to have * cardinality (https://github.com/clap-rs/clap/blob/20aac9d46e0852292bd43d845b6d9cb69c598c9e/clap_complete/src/aot/shells/zsh.rs#L640)
Expected behavior:
- type rip
- tab complete files
- tab complete nother files
Using zsh completion generated by clap, we can't autocomplete more than one file.
I tried the simple patch to add
num_args = 1..to the targets arg, but this was not enough, as in clap_complete we seem to also need subcommand to have * cardinality (https://github.com/clap-rs/clap/blob/20aac9d46e0852292bd43d845b6d9cb69c598c9e/clap_complete/src/aot/shells/zsh.rs#L640)Expected behavior: