summary refs log tree commit diff
path: root/Functions/Completion/_trap
blob: 59e81c589d5d7728152d814f1dfa7d17e8c6d072 (plain) (blame)
1
2
3
4
5
6
7
#defcomp trap

if [[ -position 1 ]]; then
  complist -c
else
  complist -k signals
fi