5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-21 18:03:59 +03:00
2021-02-05 12:42:20 +01:00

14 lines
344 B
Plaintext

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