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
~ at ☸️ microk8s
➜ source <(skaffold completion zsh)
_arguments:comparguments:325: can only be called from completion function
_arguments:comparguments:325: can only be called from completion function
Information
Skaffold version: v0.23.0
Operating system: Linux sweethome 4.18.0-15-generic [UX] Add command completion #16-Ubuntu SMP Thu Feb 7 10:56:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Contents of skaffold.yaml: Not related.
Steps to reproduce the behavior
source <(skaffold completion zsh)
The text was updated successfully, but these errors were encountered:
I guess that's my fault. I didn't realize that zsh completion was utterly broken in cobra, when I enabled it. Would a static zsh completion file be fine for the time being? There is an open PR in cobra which will fix this, but it's been quiet for some time now :(
Cobra zsh completion is pretty broken. The idea is therefore, to use the working bash completion from cobra and wrap that with zsh adapter code. This code is based on the kubectl wrapper script.
FixesGoogleContainerTools#1671
Signed-off-by: Cornelius Weig <[email protected]>
* completion: add wrapper code to transform bash to zsh completion
Cobra zsh completion is pretty broken. The idea is therefore, to use the working bash completion from cobra and wrap that with zsh adapter code. This code is based on the kubectl wrapper script.
Fixes#1671
Signed-off-by: Cornelius Weig <[email protected]>
* Add proper attribution for the wrapper code to the kubernetes authors
Signed-off-by: Cornelius Weig <[email protected]>
Expected behavior
ZSH completion loading.
Actual behavior
Information
Steps to reproduce the behavior
source <(skaffold completion zsh)
The text was updated successfully, but these errors were encountered: