Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _requested problem?
- X-seq: zsh-workers 11159
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _requested problem?
- Date: Thu, 4 May 2000 17:39:35 +0200 (MET DST)
- In-reply-to: Tanaka Akira's message of 05 May 2000 00:34:56 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Tanaka Akira wrote:
> Z(4):akr@serein% Src/zsh -f
> serein% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
> serein% _tst () {
> function> local expl ret=1
> function> _tags a b
> function> while _tags; do
> function while> _requested a expl aa compadd a && ret=0
> function while> _requested b expl bb compadd b && ret=0
> function while> (( $ret )) || break
> function while> done
> function> }
> serein% zstyle :completion::complete:tst:: tag-order a
> serein% tst b<TAB>
>
> I think this should complete `bb' but it doesn't.
It should complete `b' and...
> Is this fix correct?
... yes, this is correct.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author