proxmox-backup/zsh-completions/_proxmox-backup-debug
Wolfgang Bumiller df12c9ec4e add proxmox-backup-debug debian package
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-09-02 11:25:50 +02:00

14 lines
412 B
Plaintext

#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")
}