summary refs log tree commit diff
path: root/Functions/Completion/__kill
blob: 09ba248dcced371f4cdab443156bd182c2662637 (plain) (blame)
1
2
3
4
5
6
7
8
#function kill

if [[ -iprefix '-' ]]; then
  complist -k "($signals[1,-3])"
else
  complist -P '%' -j
  complist -y __kill_helper -s '`ps 2>/dev/null | tail +2 | cut -c1-5`'
fi