mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-01-31 05:24:09 +00:00
15 lines
432 B
Plaintext
15 lines
432 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)]' \
|
|
'1:parameter spec:_vars'
|
|
|