Skip to content

new system integration options broke shell completions #18866

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

Closed
xdBronch opened this issue Feb 8, 2024 · 2 comments
Closed

new system integration options broke shell completions #18866

xdBronch opened this issue Feb 8, 2024 · 2 comments

Comments

@xdBronch
Copy link
Contributor

xdBronch commented Feb 8, 2024

Zig Version

0.12.0-dev.2640+b3aed4e2c

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 #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.

im not sure if this can/should be worked around in the shell completions but if so i can move this issue to https://github.com/ziglang/shell-completions

Expected Behavior

give completions for build options

@xdBronch xdBronch added the bug Observed behavior contradicts documented or intended behavior label Feb 8, 2024
@ifreund
Copy link
Member

ifreund commented Feb 8, 2024

Yeah, this issue belongs on the shell completions repository.

@ifreund ifreund removed the bug Observed behavior contradicts documented or intended behavior label Feb 8, 2024
@xdBronch
Copy link
Contributor Author

xdBronch commented Feb 8, 2024

moved to the other repo

@xdBronch xdBronch closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
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