new system integration options broke shell completions
moved from https://github.com/ziglang/zig/issues/18866
Steps to Reproduce and Observed Behavior
in a zig project with no system integrations options ask for shell completions with the prompt zig build -
rather than completing options like before it will print out
_arguments:comparguments:327: invalid argument: (none)[-]:
_arguments:comparguments:327: invalid argument: (none)[-]:
_arguments:comparguments:327: invalid argument: (none)[-]:
this is due to the new section from https://github.com/ziglang/zig/pull/18778
Available System Integrations: Enabled:
(none) -
if there are any system integration options the completions will work again
this is on zsh, i dont have shell completions setup for anything else so im not sure if it happens for those, sorry.
Expected Behavior
give completions for build options
the completions in general need to be updated quite a bit, can they be autogenerated? im not familiar with sed and it seems extremely tedious doing any of this manually
I'm sure it's possible to automate but I find it much easier to just do it manually once or twice a year.
And zig build - completions have never worked that well to begin with #3