summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/istioctl
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2022-10-03 21:42:20 +0530
commitaf120ab348f2e1a5a39dec035ed9dcf84189a64e (patch)
tree2a3aadd7ce1b7b771dfe3fe7c983569726c8d7ed /zsh/oh-my-zsh/plugins/istioctl
downloaddotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.gz
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.bz2
dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.zip
dotfiles
Diffstat (limited to 'zsh/oh-my-zsh/plugins/istioctl')
-rw-r--r--zsh/oh-my-zsh/plugins/istioctl/README.md9
-rw-r--r--zsh/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh4
2 files changed, 13 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/plugins/istioctl/README.md b/zsh/oh-my-zsh/plugins/istioctl/README.md
new file mode 100644
index 0000000..afd4d29
--- /dev/null
+++ b/zsh/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/zsh/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh b/zsh/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh
new file mode 100644
index 0000000..13ead1b
--- /dev/null
+++ b/zsh/oh-my-zsh/plugins/istioctl/istioctl.plugin.zsh
@@ -0,0 +1,4 @@
+if [ $commands[istioctl] ]; then
+ source <(istioctl completion zsh)
+ compdef _istioctl istioctl
+fi