about summary refs log tree commit diff
path: root/Completion/Builtins/_set
blob: b96eb0efb04cdc37ab442f3d2ffac85457708483 (plain) (blame)
1
2
3
4
5
6
7
8
9
#compdef set

local prev="$words[CURRENT-1]"

if [[ "$prev" = [-+]o ]]; then
  _options
elif [[ "$prev" = -A ]]; then
  _arrays
fi