Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Something strange with contexts
- X-seq: zsh-workers 10647
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Something strange with contexts
- Date: Tue, 11 Apr 2000 12:35:49 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Tue, 11 Apr 2000 14:30:49 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> bor@itsrm2% lynx
> tags in context :completion::complete:lynx:argument:
> prefixes (_urls _lynx)
> tags in context :completion::complete:lynx:argument-1:
> arguments options (_arguments _lynx)
> globbed-files (_files _lynx)
> directories (_files _lynx)
> all-files (_files _lynx)
>
> This O.K.; note, that we are completing the first argument.
>
> but
>
> bor@itsrm2% gzip
> tags in context :completion::complete:gzip::
> globbed-files (_files _gzip)
> directories (_files _gzip)
> all-files (_files _gzip)
>
> Where is "argument-*" context is setup?
Nowhere. For lynx that comes from _arguments being used. _gzip does
everything itself. In other words: noone has take the time to make
_gzip (and _gunzip and ... lots of other simple functions) use
_arguments to also complete options and stuff.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author