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

Re: [PATCH] completion for opensolaris IPS package manager



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