blob: 9281a5cc2c7f066c0fcb31dfa0eeb8d8ecd60675 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#defcomp wait
local list ret=1
compgen -P '%' -j && ret=0
list=("$(ps 2>/dev/null)")
compgen -y '$list' -s '`ps 2>/dev/null | tail +2 | cut -c1-5`' && ret=0
return ret
|