Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion tricks
- X-seq: zsh-users 3694
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: completion tricks
- Date: Mon, 19 Mar 2001 22:04:11 +0000
- In-reply-to: <874rwpmny9.fsf@xxxxxxxxxxxxxxxxxx>; from matt.armstrong@xxxxxxxxxxxx on Mon, Mar 19, 2001 at 01:46:38PM -0800
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.31.0103191314040.4850-100000@neptune> <20010319141533.D94071@xxxxxxxxxx> <20010319213006.B21595@xxxxxxxxxxxxxxxxxxxxxxx> <874rwpmny9.fsf@xxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Matt Armstrong (matt.armstrong@xxxxxxxxxxxx) wrote:
> I was using the new completion stuff for a while, but I switched back
> for two reasons:
>
> - The learning curve to actually do stuff with the new completion
> stuff was above my personal threshold.
>
> - My shells started up many times slower with it in place.
This is a shame, but I can totally sympathise with your viewpoint. I
would love to hear some tips from any zsh-workers as to how zsh can be
optimised with respect to startup time. (Optimisation w.r.t. memory
usage is another topic I would like to hear people's thoughts on, but
it's off-topic here.) Personally I tried messing with zcompile and
zrecompile once or twice to address this but ran out of time before I
got it working, and anyway, Peter's guide suggests that on most
computers these days it might not help much. [Note to workers: would
it be worth having `make install' automatically zcompile the
completion system?]
As for the learning curve for the new completion system, this is a
known issue, but have you tried the `compinstall' command recently?
It goes a remarkably long way towards solving the problem. If there's
something else which compinstall didn't help you with, if you could
find the time to describe more precisely what it was that you wanted
to do, we'll do our best to help you and/or improve the existing
documentation.
> compctl is cryptic but pretty simple. I hope it stays around.
I don't think there are any plans to get rid of it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author