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'.*\)[EMAIL PROTECTED]|\1|p' \
-+ 's|^\('$cur'[EMAIL PROTECTED])\.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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit