Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: RPM completion in dev19 and a suggested change to make completion

Francis GALIEGUE <francis@xxxxxxxxxxxxxxxx> writes:

> I'm not au fait enough to do it by myself, but a suggestion for rpm
> would be that it does not look into the RPM database if the -p
> <package> option is specified, as it only applies to files. Is this

Humm :

From: Chmouel Boudjnah <chmouel@xxxxxxxxxxxxxxxx>
Subject: PATCH: _rpm and locale file
To: zsh-workers@xxxxxxxxxxxxxx
Date: 31 Mar 2000 12:40:10 -0800

rpm -qp* is always locale files :

--- zsh-3.1.6-dev-20/Completion/Linux/_rpm.chmou        Wed Mar 22 15:07:53 2000
+++ zsh-3.1.6-dev-20/Completion/Linux/_rpm      Fri Mar 31 13:37:09 2000
@@ -102,7 +102,7 @@
       '--dbpath:RPM database path:_files -/' \
       '--queryformat:RPM query format:->tags' \
       '-f[specify file to query owner of]:file:_files' \
-      '-p[specify uninstalled package file to query]:RPM package file:->package_file' \
+      '-p+[specify uninstalled package file to query]:*:RPM package file:->package_file' \
       '--triggeredby:RPM package:->package' \
       '--whatprovides:RPM capability:->capability' \


MandrakeSoft Inc                http://www.mandrakesoft.com
Pasadena, CA USA                                  --Chmouel

Messages sorted by: Reverse Date, Date, Thread, Author