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:
parent
1ce8e905ea
commit
68149b9045
@ -2,7 +2,7 @@
|
||||
|
||||
function _pmt() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
function _pmtx() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
function _proxmox-backup-client() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
function _proxmox-backup-debug() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
function _proxmox-backup-manager() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -1,8 +1,8 @@
|
||||
#compdef _proxmox-backup-client() proxmox-backup-client
|
||||
#compdef _proxmox-file-restore() proxmox-file-restore
|
||||
|
||||
function _proxmox-backup-client() {
|
||||
function _proxmox-file-restore() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
@ -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]}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
function _pxar() {
|
||||
local cwords line point cmd curr prev
|
||||
cworkds=${#words[@]}
|
||||
cwords=${#words[@]}
|
||||
line=$words
|
||||
point=${#line}
|
||||
cmd=${words[1]}
|
||||
|
Loading…
Reference in New Issue
Block a user