9edde0950ef783fc55e69ca1f9ec971819758cd4
- Author
- Kevin Kirkup <kevin.s.kirkup@me.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Add OpenShift autocompletion (#6049)
Diff
1diff --git a/plugins/oc/oc.plugin.zsh b/plugins/oc/oc.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..b968c4bd47f19211c720161bc5c76b3039a672c6
4--- /dev/null
5+++ b/plugins/oc/oc.plugin.zsh
6@@ -0,0 +1,7 @@
7+# Autocompletion for oc, the command line interface for OpenShift
8+#
9+# Author: https://github.com/kevinkirkup
10+
11+if [ $commands[oc] ]; then
12+ source <(oc completion zsh)
13+fi