Handle parenthesis, <defunct> in killall completion.
This commit is contained in:
parent
06932d52c9
commit
47d0c5be2c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user