about summary refs log tree commit diff
path: root/Completion/Builtins/_vars_eq
blob: 1e8fa6d2b26dc989e9a5894129a4a402518c0ed6 (plain) (blame)
1
2
3
4
5
6
7
8
9
#compdef declare export integer local readonly typeset

if [[ "$PREFIX" = *\=* ]]; then
  compstate[parameter]="${PREFIX%%\=*}"
  compset -P 1 '*='
  _value
else
  _parameters -q -S '='
fi