blob: 50796d36fb822d49c0c56bd53933e7ffc1039071 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#defcomp kill
local list
if [[ -iprefix '-' ]]; then
complist -k "($signals[1,-3])"
else
complist -P '%' -j
list=("$(ps 2>/dev/null)")
complist -y '$list' -s '`ps 2>/dev/null | tail +2 | cut -c1-5`'
fi
|