From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21348 invoked from network); 21 Feb 2000 18:28:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Feb 2000 18:28:48 -0000 Received: (qmail 4298 invoked by alias); 21 Feb 2000 18:28:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9824 Received: (qmail 4290 invoked from network); 21 Feb 2000 18:28:41 -0000 Date: Mon, 21 Feb 2000 13:28:31 -0500 From: Clint Adams To: zsh-workers@sunsite.auc.dk Subject: PATCH: _x_arguments too broad Message-ID: <20000221132831.E23999@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.1.2i zsh 433 % /usr/bin/X11/imake -display -display -geometry Not very useful. OTOH, /usr/openwin/bin/imake will complete files, which is perhaps more desirable in this instance. Since not every binary in */X11/* is going to take -display and -geometry, and most are likely to take other arguments, a better solution is needed. Index: Completion/X/_x_arguments =================================================================== RCS file: /cvs/zsh/zsh/Completion/X/_x_arguments,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 _x_arguments --- Completion/X/_x_arguments 2000/02/18 11:10:37 1.1.1.4 +++ Completion/X/_x_arguments 2000/02/21 18:20:28 @@ -1,4 +1,4 @@ -#compdef -P */X11/* +#autoload local ret long xargs