Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Improved apt/dpkg completion and completion hacking questions
- X-seq: zsh-users 9567
- From: Hannu Koivisto <azure@xxxxxx>
- To: Zsh Users' List <zsh-users@xxxxxxxxxx>
- Subject: Re: Improved apt/dpkg completion and completion hacking questions
- Date: Thu, 27 Oct 2005 15:02:34 +0300
- In-reply-to: <20051026042027.GB10473@xxxxxxxxxxx> (Clint Adams's message of "Wed, 26 Oct 2005 00:20:27 -0400")
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87u0f51aee.fsf@xxxxxxxxxxxxxxxx> <20051026042027.GB10473@xxxxxxxxxxx>
- Sender: Hannu Koivisto <Hannu.Koivisto@xxxxxxxxxxx>
Clint Adams <clint@xxxxxxx> writes:
> You could use 'zstyle'. Another thing you might consider is
I was hoping for slightly more detailed guidelines regarding zstyle
from the completion programmer's point of view...
> filing a wishlist bug on apt to add an option to spew out
> the short description after each package name when doing
> 'apt-cache --generate pkgnames'.
There would also have to be an option for generating only package
names of packages available for installation.
> Have you done any speed tests?
On a 2.8GHz P4 machine with plenty of memory and reasonably
fast/modern IO/disk apt-get install zsh<C-d> (for the first time,
i.e. when it fills the array) took about one second. On my
memory-starved 466MHz Celeron machine it took about three seconds
if _deb_packages_update_avail had been run in another shell
recently. If not, it took up to eight seconds (slow IO, probably
needed to swap stuff out as well).
I haven't yet figured out how to enable caching, which
_deb_packages seems to support.
--
Hannu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author