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

Re: [solaris] completion function for zone*



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