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