[yum-commits] Branch 'yum-3_2_X' - etc/yum.bash

Ville Skyttä scop at osuosl.org
Mon Jul 4 21:30:16 UTC 2011


 etc/yum.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3871d6700174482dd4c46d82b9aa1e659d4d1328
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jul 5 00:29:12 2011 +0300

    Fix group completion when current word contains backslashed characters.

diff --git a/etc/yum.bash b/etc/yum.bash
index c87566d..7fd97ae 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -45,7 +45,7 @@ _yum_grouplist()
 {
     local IFS=$'\n'
     # TODO: add -d 0 when http://yum.baseurl.org/ticket/29 is fixed
-    COMPREPLY=( $( compgen -W "$( ${yum:-yum} -C grouplist $1 "$2*" \
+    COMPREPLY=( $( compgen -W "$( ${yum:-yum} -C grouplist $1 \
         2>/dev/null | sed -ne 's/^[[:space:]]\{1,\}\(.\{1,\}\)/\1/p' )" \
         -- "$2" ) )
 }


More information about the Yum-commits mailing list