You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike other tools of the Kubernetes ecosystem that use Cobra, the Zsh completion script generated by ko completion zsh does not call compdef _kind, so the user must manually call compdef _ko ko after sourcing the completion.
$ ko completion zsh --help[...]To load completions in your current shell session: source <(ko completion zsh); compdef _ko ko[...]
This is a bit counter-intuitive and could easily be addressed it seems.
Below is a comparison of outputs for <tool> completion zsh:
Unlike other tools of the Kubernetes ecosystem that use Cobra, the Zsh completion script generated by
ko completion zsh
does not callcompdef _kind
, so the user must manually callcompdef _ko ko
after sourcing the completion.This is a bit counter-intuitive and could easily be addressed it seems.
Below is a comparison of outputs for
<tool> completion zsh
:kind: https://github.com/kubernetes-sigs/kind/blob/v0.17.0/pkg/cmd/kind/completion/zsh/zsh.go#L28-L38
#compdef _kind kind
ko:
#compdef ko
The text was updated successfully, but these errors were encountered: