Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new system integration options broke shell completions #15

Open
xdBronch opened this issue Feb 8, 2024 · 3 comments
Open

new system integration options broke shell completions #15

xdBronch opened this issue Feb 8, 2024 · 3 comments

Comments

@xdBronch
Copy link

xdBronch commented Feb 8, 2024

moved from ziglang/zig#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 ziglang/zig#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

@xdBronch
Copy link
Author

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

@Vexu
Copy link
Member

Vexu commented Feb 12, 2024

I'm sure it's possible to automate but I find it much easier to just do it manually once or twice a year.

@Vexu
Copy link
Member

Vexu commented Feb 12, 2024

And zig build - completions have never worked that well to begin with #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants