From 10b750af26c643335726735c832f1029250db90b Mon Sep 17 00:00:00 2001 From: Kevin S Kirkup Date: Mon, 1 Sep 2025 14:28:12 -0400 Subject: [PATCH] feat(kompost): Add plugin for kompose (#7729) Co-authored-by: Kevin S Kirkup --- plugins/kompose/README.md | 12 ++++++++++++ plugins/kompose/kompose.plugin.zsh | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 plugins/kompose/README.md create mode 100644 plugins/kompose/kompose.plugin.zsh 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