about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_vared
blob: e7072ca6d8eb11ced17dbea8472b7f6a4d632ac1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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'