1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 16:20:07 +00:00

velero autocompletion plugin

This commit is contained in:
Simon Seidel 2020-08-13 17:23:13 +02:00
parent 079e7bb5e0
commit 19d7664392
2 changed files with 30 additions and 0 deletions

22
plugins/velero/README.md Normal file
View file

@ -0,0 +1,22 @@
# velero-zsh-autocomplete-plugin
Provides [Velero](https://velero.io/) CLI autocompletion for ZSH
To use it, copy the `velero.plugin.zsh` file to your zsh plugin directory and add `velero` to the plugins array of your zshrc file:
```bash
plugins=(
...
velero
...
)
```
## Contributors
+ [s1msn](https://github.com/s1msn) - Plugin Author
+ Based on [kevinkirkup](https://github.com/kevinkirkup)'s oc autocomplete plugin.

View file

@ -0,0 +1,8 @@
# Autocompletion for Velero CLI
# Based on kevinkirkup's oc completion plugin
#
# Author: https://github.com/s1msn
if [ $commands[oc] ]; then
source <(velero completion zsh)
fi