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

Re: PATCH: file completion



Tanaka Akira wrote:

> In article <200002091625.RAA17482@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
>   Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> 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<TAB>
> ->
> 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@xxxxxxxxxxxxxxxxxxxxxxx



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