added svcat plugin (#7452)

Including a Kubernetes Service Catalog plugin
This commit is contained in:
Ben Davies 2018-12-31 19:14:22 +00:00 committed by Robby Russell
parent 64976138b6
commit d0c06d9ec8
2 changed files with 15 additions and 0 deletions

9
plugins/svcat/README.md Normal file
View file

@ -0,0 +1,9 @@
# svcat
This plugin provides completion for the [Kubernetes service catalog cli](https://github.com/kubernetes-incubator/service-catalog).
To use it, add `svcat` to the plugins array in your zshrc file.
```
plugins=(... svcat)
```

View file

@ -0,0 +1,6 @@
# Autocompletion for svcat.
#
if [ $commands[svcat] ]; then
source <(svcat completion zsh)
fi