[Bash-completion-commits] [SCM] Maintainance of bash-completion branch, master, updated. 47d0c5be2c1a30de898351a58d124343feb0a36f

Ville Skyttä ville.skytta at iki.fi
Tue Feb 10 22:11:17 UTC 2009


The following commit has been merged in the master branch:
commit 47d0c5be2c1a30de898351a58d124343feb0a36f
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Feb 11 00:11:09 2009 +0200

    Handle parenthesis, <defunct> in killall completion.

diff --git a/bash_completion b/bash_completion
index c2d8be1..7655896 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
 

-- 
Maintainance of bash-completion



More information about the Bash-completion-commits mailing list