1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-27 14:51:58 +00:00
ohmyzsh/plugins/oc/oc.plugin.zsh
FaeTheWolf 6622210d7d
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>
2022-06-05 15:59:44 +02:00

8 lines
187 B
Bash

# Autocompletion for oc, the command line interface for OpenShift
#
# Author: https://github.com/kevinkirkup
if [ $commands[oc] ]; then
source <(oc completion zsh)
compdef _oc oc
fi