From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20465 invoked from network); 7 Sep 1999 16:48:45 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Sep 1999 16:48:45 -0000 Received: (qmail 12529 invoked by alias); 7 Sep 1999 16:48:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7696 Received: (qmail 12522 invoked from network); 7 Sep 1999 16:48:35 -0000 Date: Tue, 7 Sep 1999 17:48:34 +0100 From: Adam Spiers To: zsh-workers@sunsite.auc.dk Subject: Re: _rpm fixes Message-ID: <19990907174834.A12386@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <199909070820.KAA03650@beta.informatik.hu-berlin.de> <19990907101001.A7292@thelonious.new.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990907101001.A7292@thelonious.new.ox.ac.uk>; from Adam Spiers, on thelonious on Tue, Sep 07, 1999 at 10:10:01AM +0100 X-URL: http://www.new.ox.ac.uk/~adam/ X-OS: Linux 2.2.9 i686 Adam Spiers, on thelonious (adam@thelonious.new.ox.ac.uk) wrote: > Sven Wischnowsky (wischnow@informatik.hu-berlin.de) wrote: > > I don't know `rpm' very well and the documentation I have is very > > imprecise, that's why I was asking for help when I first sent the > > `Rpm/*' functions. > > > > Is the rest of the function ok? > > I haven't played with it much yet (still discovering the joys of all > the bells and whistles with the new completion system, > e.g. description_format with group_matches, which is GREAT!) but I use > rpm a fair bit so of course I'll fix any more problems I find. Well, at least, I would if I knew how to... Next problem: rpm allows single letter switches to be grouped, but _rpm doesn't recognise this, e.g. % rpm -ihv doesn't complete .rpm files. Presumably the -s of _arguments will help here, but how do you use it without mucking up all the long options? Two separate calls to _arguments?