浏览代码

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 年之前
父节点
当前提交
6622210d7d
共有 1 个文件被更改,包括 1 次插入0 次删除
  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