proxmox-backup/zsh-completions/_pxar

14 lines
348 B
Plaintext

#compdef _pxar() pxar
function _pxar() {
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" \
pxar bashcomplete "$cmd" "$curr" "$prev")
}