aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/helm
diff options
context:
space:
mode:
Diffstat (limited to '.oh-my-zsh/plugins/helm')
-rw-r--r--.oh-my-zsh/plugins/helm/README.md9
-rw-r--r--.oh-my-zsh/plugins/helm/helm.plugin.zsh7
2 files changed, 16 insertions, 0 deletions
diff --git a/.oh-my-zsh/plugins/helm/README.md b/.oh-my-zsh/plugins/helm/README.md
new file mode 100644
index 0000000..49844c7
--- /dev/null
+++ b/.oh-my-zsh/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/.oh-my-zsh/plugins/helm/helm.plugin.zsh b/.oh-my-zsh/plugins/helm/helm.plugin.zsh
new file mode 100644
index 0000000..78499c1
--- /dev/null
+++ b/.oh-my-zsh/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