ajalt / clikt

Multiplatform command line interface parsing for Kotlin
https://ajalt.github.io/clikt/
Apache License 2.0
2.56k stars 123 forks source link

[complete][zsh] Fixing issue with compgen function not being found #499

Closed hick209 closed 8 months ago

hick209 commented 8 months ago

Depending on your version of zsh, you may not have autoload compinit called in your .zshrc file, which results in the following error (tested on a macOS):

complete:13: command not found: compdef

I found the solution here, which worked when tested: https://stackoverflow.com/a/76476988/1848826

ajalt commented 8 months ago

Thank you!