8 lines
187 B
Bash
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
|