blob: bf0e1d3f86842b0490f8c2615fe66b0c9c4e4a2b (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#defcomp 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
|