From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2607 invoked from network); 3 Aug 2005 08:49:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Aug 2005 08:49:03 -0000 Received: (qmail 42588 invoked from network); 3 Aug 2005 08:48:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Aug 2005 08:48:55 -0000 Received: (qmail 18856 invoked by alias); 3 Aug 2005 08:48:49 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9215 Received: (qmail 18847 invoked from network); 3 Aug 2005 08:48:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Aug 2005 08:48:48 -0000 Received: (qmail 41481 invoked from network); 3 Aug 2005 08:48:48 -0000 Received: from cluster-e.mailcontrol.com (HELO rly12e.srv.mailcontrol.com) (217.79.216.190) by a.mx.sunsite.dk with SMTP; 3 Aug 2005 08:48:42 -0000 Received: from iris.logica.co.uk (iris.logica.co.uk [158.234.9.163]) by rly12e.srv.mailcontrol.com (MailControl) with ESMTP id j738mbGZ007483 for ; Wed, 3 Aug 2005 09:48:37 +0100 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j738mbTp005023 for ; Wed, 3 Aug 2005 09:48:37 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id E1362344AD for ; Wed, 3 Aug 2005 10:48:31 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <20050802180158.GA10402@spiegl.de> From: Oliver Kiddle References: <20050802180158.GA10402@spiegl.de> To: zsh-users@sunsite.dk Subject: Re: simple completion example? Date: Wed, 03 Aug 2005 10:48:31 +0200 Message-ID: <19401.1123058911@trentino.groupinfra.com> X-Scanned-By: MailControl A-05-01-05 (www.mailcontrol.com) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Andy Spiegl wrote: > I tried to start with _apt because it also uses "commands" but it's way to > complicated for a beginner like me. :-) Try looking at _aptitude instead. It's a lot simpler. If you have the "From bash to Z shell" book, that has an example for completing subcommands on page 395. 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.