From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23389 invoked from network); 13 Sep 2008 16:49:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Sep 2008 16:49:57 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 96634 invoked from network); 13 Sep 2008 16:49:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Sep 2008 16:49:43 -0000 Received: (qmail 13313 invoked by alias); 13 Sep 2008 16:49:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25661 Received: (qmail 13296 invoked from network); 13 Sep 2008 16:49:28 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Sep 2008 16:49:28 -0000 Received: from lorien.comfychair.org (lorien.comfychair.org [64.81.241.43]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 03C9D802710B for ; Sat, 13 Sep 2008 18:49:19 +0200 (CEST) Received: from lorien.comfychair.org (localhost [127.0.0.1]) by lorien.comfychair.org (8.13.7/8.13.7) with ESMTP id m8DGnGlh017344; Sat, 13 Sep 2008 09:49:17 -0700 Received: (from duvall@localhost) by lorien.comfychair.org (8.13.7/8.13.7/Submit) id m8DGnGIC017343; Sat, 13 Sep 2008 09:49:16 -0700 Date: Sat, 13 Sep 2008 09:49:16 -0700 From: Danek Duvall To: =?iso-8859-1?B?eFJhaWNoW29dsng=?= Cc: zsh-workers@sunsite.dk Subject: Re: [PATCH] completion for opensolaris IPS package manager Message-ID: <20080913164916.GI21904@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , =?iso-8859-1?B?eFJhaWNoW29dsng=?= , zsh-workers@sunsite.dk References: <48CBDA72.8090105@gmail.com> <20080913155818.GH21904@lorien.comfychair.org> <48CBEA04.1040107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48CBEA04.1040107@gmail.com> User-Agent: mutt-ng/devel-r535 (Linux) X-Virus-Scanned: ClamAV 0.92.1/8231/Sat Sep 13 17:51:44 2008 on bifrost X-Virus-Status: Clean On Sat, Sep 13, 2008 at 06:27:48PM +0200, "xRaich[o]²x" wrote: > I didn't use pkg info because its very slow. list, not info. We made some performance improvements as of build 94. "pkg list" now takes about two seconds on my machine, and "pkg list -a" takes about three. It could be faster, certainly, but for a first-time startup cost, it's not bad at all, though certainly running it every time would be pretty painful. And in the next build or two, there'll be a history command that will let you safely determine whether the cache is invalid. > i know there is a cache function in zsh completion somewhere but this is > actually the first shellscript i ever really wrote ^^. Hey, it's a good start! Thanks, Danek