Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [solaris] completion function for zone*
- X-seq: zsh-workers 25440
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [solaris] completion function for zone*
- Date: Tue, 12 Aug 2008 11:44:57 +0100
- In-reply-to: <20080812085748.GA28714@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <20080812085748.GA28714@xxxxxxxxxxxxxx>
On Tue, 12 Aug 2008 10:57:48 +0200
Bruno Bonfils <asyd@xxxxxxxxxxxxx> wrote:
> I wrote a completion function for solaris's 10+ zones management
> function, the function is available here :
>
> http://svn.asyd.net/svn/zsh/trunk/functions/_zones
>
> feel free to add/modify it
>
> cheers
Thanks. It shouldn't define functions that don't begin with "_"; this
violates the completion system's guarantee about the namespace.
You also need to invoke
_zones "$@"
at the end so that it works the first time.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author