zsh completion script should not assume complete
command exists
#772
Labels
theme: auto-completion
An issue or change related to auto-completion
theme: codegen
An issue or change related to the picocli-codegen module
Milestone
After recently upgrading my macOs to Mojave, I found out that my Picocli autocomplete script stopped working with the following error:
To solve the problem I needed to add the following prior to running the script:
On further inspection, I noticed https://picocli.info/autocomplete.html#_install_completion_script illustrates in passing that this is required. I'm wondering if it makes sense to add that to the generated script if
complete
isn't defined. That would allow the instructions forbash
andzsh
to be the same.The text was updated successfully, but these errors were encountered: