Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Passsing descriptions down in completion functions
- X-seq: zsh-workers 18064
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Passsing descriptions down in completion functions
- Date: Thu, 09 Jan 2003 15:04:03 +0100
- In-reply-to: <32149.1042120127@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <6134254DE87BD411908B00A0C99B044F04D68E65@MOWD019A> <32149.1042120127@xxxxxxxxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxx
I wrote:
> The first bug (in my opinion) is that
> _wanted hosts expl host compadd "$@" -a hosts -
> does not work because any explanation arguments after the -a option are
> ignored.
I've just realised that this is wrong because -a is just a flag, with
hosts not being an argument to -a. So _hosts should do:
_wanted hosts expl host compadd "$@" -a - hosts
And a similar change is needed across many of the completion functions.
Oliver
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author