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

if [[ CURRENT -eq 2 ]]; then
  compgen -c
else
  compgen -k signals
fi