summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin S Kirkup <kevin.s.kirkup@me.com>2025-09-01 14:28:12 -0400
committerGitHub <noreply@github.com>2025-09-01 11:28:12 -0700
commit10b750af26c643335726735c832f1029250db90b (patch)
treef7eb35be5300373400c010dcc7b3fa41b4ab5c45
parent2525dae6613652ec9cb572bdc2fdf80ef837a967 (diff)
downloadzsh-10b750af26c643335726735c832f1029250db90b.tar.gz
zsh-10b750af26c643335726735c832f1029250db90b.tar.bz2
zsh-10b750af26c643335726735c832f1029250db90b.zip
feat(kompost): Add plugin for kompose (#7729)
Co-authored-by: Kevin S Kirkup <kevin.kirkup@pureport.com>
-rw-r--r--plugins/kompose/README.md12
-rw-r--r--plugins/kompose/kompose.plugin.zsh3
2 files changed, 15 insertions, 0 deletions
diff --git a/plugins/kompose/README.md b/plugins/kompose/README.md
new file mode 100644
index 000000000..e86d9263b
--- /dev/null
+++ b/plugins/kompose/README.md
@@ -0,0 +1,12 @@
+# kompose
+
+This plugin provides completion for [kompose](https://github.com/kubernetes/kompose),
+to migrate from docker compose to Kubernetes resource definitions.
+
+To use it, add `kompose` to the plugins array in your zshrc file.
+
+```
+plugins=(... kompose)
+```
+
+**Author:** [@kevinkirkup](https://github.com/kevinkirkup)
diff --git a/plugins/kompose/kompose.plugin.zsh b/plugins/kompose/kompose.plugin.zsh
new file mode 100644
index 000000000..764e724e6
--- /dev/null
+++ b/plugins/kompose/kompose.plugin.zsh
@@ -0,0 +1,3 @@
+if [ $commands[kompose] ]; then
+ source <(kompose completion zsh)
+fi