10b750af26c643335726735c832f1029250db90b
- Author
- Kevin S Kirkup <kevin.s.kirkup@me.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
feat(kompost): Add plugin for kompose (#7729)
Co-authored-by: Kevin S Kirkup <kevin.kirkup@pureport.com>
Diff
1diff --git a/plugins/kompose/README.md b/plugins/kompose/README.md
2new file mode 100644
3index 0000000000000000000000000000000000000000..e86d9263b08615a8d1e03a232ce132bca0a04a6b
4--- /dev/null
5+++ b/plugins/kompose/README.md
6@@ -0,0 +1,12 @@
7+# kompose
8+
9+This plugin provides completion for [kompose](https://github.com/kubernetes/kompose),
10+to migrate from docker compose to Kubernetes resource definitions.
11+
12+To use it, add `kompose` to the plugins array in your zshrc file.
13+
14+```
15+plugins=(... kompose)
16+```
17+
18+**Author:** [@kevinkirkup](https://github.com/kevinkirkup)
19diff --git a/plugins/kompose/kompose.plugin.zsh b/plugins/kompose/kompose.plugin.zsh
20new file mode 100644
21index 0000000000000000000000000000000000000000..764e724e6b635afd7747be6d5d335d1c1ad2d17f
22--- /dev/null
23+++ b/plugins/kompose/kompose.plugin.zsh
24@@ -0,0 +1,3 @@
25+if [ $commands[kompose] ]; then
26+ source <(kompose completion zsh)
27+fi