velero autocompletion plugin

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

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