SOURCES: bash-completion-rpm-arch.patch - allow completing also be...

glen glen at pld-linux.org
Wed Jan 18 01:14:41 CET 2006


Author: glen                         Date: Wed Jan 18 00:14:41 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow completing also beyond package name (version-release.arch)

---- Files affected:
SOURCES:
   bash-completion-rpm-arch.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/bash-completion-rpm-arch.patch
diff -u SOURCES/bash-completion-rpm-arch.patch:1.1 SOURCES/bash-completion-rpm-arch.patch:1.2
--- SOURCES/bash-completion-rpm-arch.patch:1.1	Wed Jan 18 01:05:56 2006
+++ SOURCES/bash-completion-rpm-arch.patch	Wed Jan 18 01:14:35 2006
@@ -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 \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bash-completion-rpm-arch.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list