6622210d7d4afe859f11c5d50c177bd5e500f2c6
- Author
- FaeTheWolf <faelin.landy@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(oc): fix completion for oc 4.9 and 4.10 (#10973)
Closes #10939
Co-authored-by: Jorge Francisco Varela Gutiérrez <jvarela@jfvarela.redhat.com>
Diff
1diff --git a/plugins/oc/oc.plugin.zsh b/plugins/oc/oc.plugin.zsh
2index b968c4bd47f19211c720161bc5c76b3039a672c6..f0e2fc3bc89e2c3c0eef5dcf455183f9bd3043b5 100644
3--- a/plugins/oc/oc.plugin.zsh
4+++ b/plugins/oc/oc.plugin.zsh
5@@ -4,4 +4,5 @@
6
7 if [ $commands[oc] ]; then
8 source <(oc completion zsh)
9+ compdef _oc oc
10 fi