From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8181 invoked from network); 16 Jun 2006 15:43:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Jun 2006 15:43:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 98205 invoked from network); 16 Jun 2006 15:42:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 15:42:54 -0000 Received: (qmail 12330 invoked by alias); 16 Jun 2006 15:42:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10384 Received: (qmail 12320 invoked from network); 16 Jun 2006 15:42:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Jun 2006 15:42:45 -0000 Received: (qmail 97121 invoked from network); 16 Jun 2006 15:42:44 -0000 Received: from kira2.akte.de (82.165.28.56) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 15:42:44 -0000 Received: (root@kira2.akte.de) by kira2.akte.de id ; Fri, 16 Jun 2006 17:42:35 +0200 KRecCount: 1 KInfo: virscan ok KInfo: !spam auth Received: from condor.int.spiegl.de (p54977D4F.dip.t-dialin.net [84.151.125.79]) by kira2.akte.de via kasmail (2.9) id <1FrGSt-4dI-0-kira2>; Fri, 16 Jun 2006 15:42:31 GMT Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.13.7/8.13.7/Debian-1) with ESMTP id k5GFgUW0021620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Jun 2006 17:42:30 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.13.7/8.13.7/Submit) id k5GFgUFB021616 for zsh-users@sunsite.dk; Fri, 16 Jun 2006 17:42:30 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Fri, 16 Jun 2006 17:42:30 +0200 From: Andy Spiegl To: ZSH User List Subject: Re: completion for nanoblogger Message-ID: <20060616154230.GA20947@spiegl.de> Mail-Followup-To: ZSH User List References: <20060608132103.GA10421@spiegl.de> <237967ef0606080905n72213adcwd3a700ca76e51e13@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <237967ef0606080905n72213adcwd3a700ca76e51e13@mail.gmail.com> X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de X-Fingerprint: Key-ID C2CB30F0: 9051 50B9 13B0 57B9 10FD 48AC 4FA1 209B C2CB 30F0 X-Accepted-File-Formats: ASCII OpenOffice .rtf .pdf - *NO* Microsoft files please. X-why-you-shouldnt-use-MS-LookOut: http://www.jensbenecke.de/l-oe-en.php X-warum-man-MS-Outlook-vermeiden-sollte: http://www.jensbenecke.de/l-oe-de.php X-how-to-quote: http://learn.to/quote/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ User-Agent: Mutt/1.5.9i Hi Mikael, > http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/nanoblogger/files/nb.bashcomp?rev=1.1&view=markup Thanks a lot for the pointer! So far I had no idea that bash completions can be used by zsh. But in this case it doesn't make much sense because the bash function is _very_ rudimentary and - except for directory completion - worse than a simple "compdef _gnu_generic nb". So, I started writing my own and here it is: http://spiegl.de/andy/shareware/_nb (GPL) Suggestions, comments and improvements are VERY welcome! I need help to solve some problems (see the "TODO" section in the file) but the basic and most used stuff works - including a list of categories and blog entries. So, maybe the zsh experts here could take a look at it please? Thanks, Andy. -- Draco dormiens nunquam titillandus. (Albus Dumbledore)