Browse Source

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>
FaeTheWolf 1 year ago
parent
commit
6622210d7d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/oc/oc.plugin.zsh

+ 1 - 0
plugins/oc/oc.plugin.zsh

@@ -4,4 +4,5 @@
 
 if [ $commands[oc] ]; then
   source <(oc completion zsh)
+  compdef _oc oc
 fi