add proxmox-backup-debug debian package

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-09-02 10:32:29 +02:00
parent 4c1b776168
commit df12c9ec4e
10 changed files with 87 additions and 6 deletions

View File

@ -0,0 +1,13 @@
#compdef _proxmox-backup-debug() proxmox-backup-debug
function _proxmox-backup-debug() {
local cwords line point cmd curr prev
cworkds=${#words[@]}
line=$words
point=${#line}
cmd=${words[1]}
curr=${words[cwords]}
prev=${words[cwords-1]}
compadd -- $(COMP_CWORD="$cwords" COMP_LINE="$line" COMP_POINT="$point" \
proxmox-backup-debug bashcomplete "$cmd" "$curr" "$prev")
}