summaryrefslogtreecommitdiff
path: root/oh-my-zsh/plugins/istioctl
diff options
context:
space:
mode:
authorAditya <bluenerd@protonmail.com>2023-02-27 20:04:56 +0530
committerAditya <bluenerd@protonmail.com>2023-02-27 20:04:56 +0530
commitedc449275b6c04445f58b108ca0937a87c1e8430 (patch)
tree9fd484d58145b616f29a78857cc0b1c8b1c18f05 /oh-my-zsh/plugins/istioctl
parent6f5424ca96c4221ef433f545642669e9c104d0ed (diff)
add zsh
Diffstat (limited to 'oh-my-zsh/plugins/istioctl')
-rw-r--r--oh-my-zsh/plugins/istioctl/README.md9
-rw-r--r--oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh4
2 files changed, 13 insertions, 0 deletions
diff --git a/oh-my-zsh/plugins/istioctl/README.md b/oh-my-zsh/plugins/istioctl/README.md
new file mode 100644
index 0000000..afd4d29
--- /dev/null
+++ b/oh-my-zsh/plugins/istioctl/README.md
@@ -0,0 +1,9 @@
+# Istioctl - Istio Command-line Tool
+
+The [istioctl](https://istio.io/latest/docs/ops/diagnostic-tools/istioctl/) tool is a configuration command line utility that allows service operators to debug and diagnose their Istio service mesh deployments.
+
+To use it, add `istioctl` to the plugins array of your zshrc file:
+
+```sh
+plugins=(... istioctl)
+```
diff --git a/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh b/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh
new file mode 100644
index 0000000..13ead1b
--- /dev/null
+++ b/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh
@@ -0,0 +1,4 @@
+if [ $commands[istioctl] ]; then
+ source <(istioctl completion zsh)
+ compdef _istioctl istioctl
+fi