From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21834 invoked from network); 10 Feb 2000 11:54:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Feb 2000 11:54:13 -0000 Received: (qmail 14443 invoked by alias); 10 Feb 2000 11:54:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9649 Received: (qmail 14432 invoked from network); 10 Feb 2000 11:54:00 -0000 Date: Thu, 10 Feb 2000 12:53:58 +0100 (MET) Message-Id: <200002101153.MAA24244@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 10 Feb 2000 06:54:43 +0900 Subject: Re: PATCH: file completion Tanaka Akira wrote: > In article <200002091625.RAA17482@beta.informatik.hu-berlin.de>, > Sven Wischnowsky writes: > > > This mainly makes _path_files a bit faster. > > > > And then I finally got fed up with those longish while-getopts loops > > and added a small builtin (zparseopts) that can be used to replace > > such loops. > > After 9635, "_path_files -S ''" doesn't work well. > > Z(2):akr@is27e1u11% Src/zsh -f > is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst > is27e1u11% _tst () { _path_files -S '' } > is27e1u11% tst D > -> > is27e1u11% tst Doc-M > > Of course, there is no file named as `Doc-M'. I forgot to say: the patch I just send (improved zparseargs) fixes that. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de