ajalt / clikt

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

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

Closed hick209 closed 5 months ago

hick209 commented 5 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 5 months ago

Thank you!