From 9edde0950ef783fc55e69ca1f9ec971819758cd4 Mon Sep 17 00:00:00 2001 From: Kevin Kirkup Date: Tue, 7 Nov 2017 10:55:24 -0500 Subject: [PATCH] Add OpenShift autocompletion (#6049) --- plugins/oc/oc.plugin.zsh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/oc/oc.plugin.zsh diff --git a/plugins/oc/oc.plugin.zsh b/plugins/oc/oc.plugin.zsh new file mode 100644 index 000000000..b968c4bd4 --- /dev/null +++ b/plugins/oc/oc.plugin.zsh @@ -0,0 +1,7 @@ +# Autocompletion for oc, the command line interface for OpenShift +# +# Author: https://github.com/kevinkirkup + +if [ $commands[oc] ]; then + source <(oc completion zsh) +fi