From 9edde0950ef783fc55e69ca1f9ec971819758cd4 Mon Sep 17 00:00:00 2001 From: Kevin Kirkup Date: Tue, 7 Nov 2017 10:55:24 -0500 Subject: Add OpenShift autocompletion (#6049) --- plugins/oc/oc.plugin.zsh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/oc/oc.plugin.zsh (limited to 'plugins/oc') 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 -- cgit v1.2.3-70-g09d2 From 8bfeb3759c34a8e2e6a5795c3f40630a220e709b Mon Sep 17 00:00:00 2001 From: David Woodward Date: Tue, 1 Oct 2019 19:02:28 +0800 Subject: oc: add README (#8188) --- plugins/oc/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/oc/README.md (limited to 'plugins/oc') diff --git a/plugins/oc/README.md b/plugins/oc/README.md new file mode 100644 index 000000000..deae9b2d0 --- /dev/null +++ b/plugins/oc/README.md @@ -0,0 +1,13 @@ +# OC - OpenShift CLI + +This plugin provides autocompletion for [OC](https://docs.openshift.com/container-platform/3.7/cli_reference/index.html) commands, building, managing and updating operations. + +To use it, add `oc` to the plugins array of your zshrc file: + +```bash +plugins=(... oc) +``` + +## Contributors + ++ [kevinkirkup](https://github.com/kevinkirkup) - Plugin Author -- cgit v1.2.3-70-g09d2