]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- allow completing also beyond package name (version-release.arch)
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 18 Jan 2006 00:14:35 +0000 (00:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-completion-rpm-arch.patch -> 1.2

bash-completion-rpm-arch.patch

index c2ef0efb0154634a4b529b8225851fa1b84b11b5..2aa310d803e121b6fa87d0d53b81f5681f635f92 100644 (file)
@@ -5,7 +5,7 @@
                # using RHL 7.2 or later - this is quicker than querying the DB
                COMPREPLY=( $( sed -ne \
 -              's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \
-+              's|^\('$cur'.*-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\)\.rpm$|\1|p' \
++              's|^\('$cur'.*\)\.rpm$|\1|p' \
                                /var/cache/rpmpkgs.txt ) )
        else
 -              COMPREPLY=( $( rpm -qa $nodig $nosig | sed -ne \
This page took 0.035922 seconds and 4 git commands to generate.