mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-23 21:01:58 +00:00
added svcat plugin (#7452)
Including a Kubernetes Service Catalog plugin
This commit is contained in:
parent
64976138b6
commit
d0c06d9ec8
2 changed files with 15 additions and 0 deletions
9
plugins/svcat/README.md
Normal file
9
plugins/svcat/README.md
Normal 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)
|
||||
```
|
6
plugins/svcat/svcat.plugin.zsh
Normal file
6
plugins/svcat/svcat.plugin.zsh
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Autocompletion for svcat.
|
||||
#
|
||||
|
||||
if [ $commands[svcat] ]; then
|
||||
source <(svcat completion zsh)
|
||||
fi
|
Loading…
Reference in a new issue