mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-18 22:16:06 +02:00
17 lines
569 B
Plaintext
17 lines
569 B
Plaintext
#compdef vared
|
|
|
|
_arguments -s -A "-*" \
|
|
'(-a)-A[edit associative array]' \
|
|
'(-A)-a[edit array parameter]' \
|
|
"-c[create parameter or change type]" \
|
|
'-p+[specify left prompt]:prompt' \
|
|
'-r+[specify right prompt]:right prompt' \
|
|
'-i+[specify initialisation widget]:widget:_widgets' \
|
|
'-f+[specify finish widget]:widget:_widgets' \
|
|
'-h[allow access to history]' \
|
|
'-e[exit on EOF (^D)]' \
|
|
'-M+[specify keymap to link to main]:keymap:compadd -a keymaps' \
|
|
'-m+[specify keymap to link to vicmd]:keymap:compadd -a keymaps' \
|
|
'1:parameter spec:_vars'
|
|
|