Handle parenthesis, <defunct> in killall completion.

This commit is contained in:
Ville Skyttä 2009-02-11 00:11:09 +02:00
parent 06932d52c9
commit 47d0c5be2c

View File

@ -1014,7 +1014,8 @@ _killall()
else
COMPREPLY=( $( compgen -W '$( command ps axo command | \
sed -e "1d; s/ .*//; s:^/.*/::; s/:$//;" \
-e "s/^[[-]//; s/\]$//; s:/.*::")' \
-e "s/^[[(-]//; s/[])]$//; s:/.*::" \
-e "s/^<defunct>$//")' \
-- $cur ) )
fi