zsh: fix completions

seems like there was a typo in these from the beginning.

also fixes the wrong function name for proxmox-file-restore completion

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
Oguz Bektas
2021-09-02 13:48:23 +02:00
committed by Thomas Lamprecht
parent 1ce8e905ea
commit 68149b9045
8 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
function _proxmox-tape() {
local cwords line point cmd curr prev
cworkds=${#words[@]}
cwords=${#words[@]}
line=$words
point=${#line}
cmd=${words[1]}