mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-14 11:41:07 +02:00
14 lines
492 B
Text
14 lines
492 B
Text
#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:compadd -M "r\:|-=* r\:|=*" -k widgets' \
|
|
'-f+[specify finish widget]:widget:compadd -M "r\:|-=* r\:|=*" -k widgets' \
|
|
'-h[allow access to history]' \
|
|
'-e[exit on EOF (^D)]' \
|
|
'1:parameter spec:_vars'
|
|
|