This commit is contained in:
s1msn 2024-10-05 05:56:04 +08:00 committed by GitHub
commit de5ba874b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 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[velero] ]; then
source <(velero completion zsh)
fi