1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 09:51:44 +08:00

feat(istioctl): add plugin for istioctl (#10410)

* Add plugin for istioctl completion. close #10405

* fix typo

* Update README.md
This commit is contained in:
jxlwqq 2021-12-18 07:54:19 +08:00 committed by GitHub
parent 08d086a09c
commit a150d8a7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -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)
```

View File

@ -0,0 +1,4 @@
if [ $commands[istioctl] ]; then
source <(istioctl completion zsh)
compdef _istioctl istioctl
fi