#defcomp wait local list compgen -P '%' -j list=("$(ps 2>/dev/null)") compgen -y '$list' -s '`ps 2>/dev/null | tail +2 | cut -c1-5`'