summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaeTheWolf <faelin.landy@gmail.com>2022-06-05 09:59:44 -0400
committerGitHub <noreply@github.com>2022-06-05 15:59:44 +0200
commit6622210d7d4afe859f11c5d50c177bd5e500f2c6 (patch)
tree2fca08c9a04b1ee0f2d557afc8faa26921be2605
parent18e7e5d0339f3491a6c0324e2443415309b56173 (diff)
downloadzsh-6622210d7d4afe859f11c5d50c177bd5e500f2c6.tar.gz
zsh-6622210d7d4afe859f11c5d50c177bd5e500f2c6.tar.bz2
zsh-6622210d7d4afe859f11c5d50c177bd5e500f2c6.zip
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>
-rw-r--r--plugins/oc/oc.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/oc/oc.plugin.zsh b/plugins/oc/oc.plugin.zsh
index b968c4bd4..f0e2fc3bc 100644
--- a/plugins/oc/oc.plugin.zsh
+++ b/plugins/oc/oc.plugin.zsh
@@ -4,4 +4,5 @@
if [ $commands[oc] ]; then
source <(oc completion zsh)
+ compdef _oc oc
fi