summaryrefslogtreecommitdiff
path: root/plugins/helm
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/helm')
-rw-r--r--plugins/helm/README.md9
-rw-r--r--plugins/helm/helm.plugin.zsh7
2 files changed, 16 insertions, 0 deletions
diff --git a/plugins/helm/README.md b/plugins/helm/README.md
new file mode 100644
index 000000000..49844c78f
--- /dev/null
+++ b/plugins/helm/README.md
@@ -0,0 +1,9 @@
+# Helm plugin
+
+This plugin adds completion for [Helm](https://helm.sh/), the Kubernetes package manager.
+
+To use it, add `helm` to the plugins array in your zshrc file:
+
+```zsh
+plugins=(... helm)
+```
diff --git a/plugins/helm/helm.plugin.zsh b/plugins/helm/helm.plugin.zsh
new file mode 100644
index 000000000..78499c15d
--- /dev/null
+++ b/plugins/helm/helm.plugin.zsh
@@ -0,0 +1,7 @@
+# Autocompletion for helm.
+#
+# Copy from kubectl : https://github.com/pstadler
+
+if [ $commands[helm] ]; then
+ source <(helm completion zsh)
+fi