about summary refs log tree commit diff
path: root/Completion/Builtins/_trap
blob: 0f02099144bc0a22b33596fcba1ceeb6e1f96b06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#compdef trap

local expl

if [[ CURRENT -eq 2 ]]; then
  compset -q
  _normal
else
  _description expl signal
  compadd "$expl[@]" - "$signals[@]"
fi