Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] completion for opensolaris IPS package manager
- X-seq: zsh-workers 25661
- From: Danek Duvall <duvall@xxxxxxxxxxxxxx>
- To: xRaich[o]²x <raichoo@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH] completion for opensolaris IPS package manager
- Date: Sat, 13 Sep 2008 09:49:16 -0700
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <48CBEA04.1040107@xxxxxxxxx>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxxxxx>, xRaich[o]²x <raichoo@xxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <48CBDA72.8090105@xxxxxxxxx> <20080913155818.GH21904@xxxxxxxxxxxxxxxxxxxxx> <48CBEA04.1040107@xxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author