diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2009-02-11 00:11:09 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2009-02-11 00:11:09 +0200 |
commit | 47d0c5be2c1a30de898351a58d124343feb0a36f (patch) | |
tree | af8b33b0be21103b7fdc00ccc4ff0657770127d0 | |
parent | 06932d52c9a9542d00e58abe1d647716a5149c51 (diff) | |
download | bash-completion-47d0c5be2c1a30de898351a58d124343feb0a36f.tar.gz |
Handle parenthesis, <defunct> in killall completion.
-rw-r--r-- | bash_completion | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion index c2d8be1d..76558961 100644 --- a/bash_completion +++ b/bash_completion @@ -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 |