Files
kubernetes/pkg
Kubernetes Submit Queue 786cc3ef6c Merge pull request #32142 from juanvallejo/jvallejo_bugfix/remove-compinit-call-zsh-completions
Automatic merge from submit-queue

remove call to compinit in zsh completion output

**Release note**:
```release-note
release-note-none
```

Fixes: https://github.com/kubernetes/kubernetes/issues/32029
Fixes:
https://github.com/kubernetes/kubernetes/issues/27538#issuecomment-238574035

The zsh completion output makes a call to "compinit" which causes the
zsh completion system to re-initialize every time `<root_cmd> completion zsh`
is sourced, overwriting any settings already applied to other commands.
This in-turn caused other commands' completions to break (such as git,
gcloud, vim) causing an error "function definition file not found" to
be returned any time a tab-completion was attempted.

This patch removes the call to `compinit` in the zsh completion output,
causing no behavioral changes to the existing `completion` command, but
fixing any issues that were caused after sourcing its output.
2016-10-13 16:33:09 -07:00
..
2016-09-19 09:57:19 -04:00
2016-10-12 15:36:01 +02:00
2016-09-22 23:37:27 +08:00
2016-10-12 15:36:01 +02:00
2016-08-31 13:46:40 -07:00
2016-08-25 10:57:31 -07:00
2016-09-29 17:35:43 -07:00
2016-08-22 14:18:15 -04:00
2016-09-20 14:47:31 +08:00
2016-10-03 22:39:33 +02:00
2016-10-07 15:37:57 +02:00