about summary refs log tree commit diff
path: root/Completion/Builtins/_kill
blob: 43ff40838179759403b5de140558df8b0eed6646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#compdef kill

local list expl

if compset -P 1 -; then

  _tags signal || return 1

  _description expl signal
  compadd "$expl[@]" $signals[1,-3]
else
  _alternative 'job:: _jobs' 'process:: _pids'
fi