dotfiles/zsh/.local/share/oh-my-zsh/.oh-my-zsh/plugins/oc/oc.plugin.zsh

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