Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion tricks
- X-seq: zsh-users 3696
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: completion tricks
- Date: Mon, 19 Mar 2001 23:06:28 +0000
- In-reply-to: <87r8ztl7lc.fsf@xxxxxxxxxxxxxxxxxx>; from matt.armstrong@xxxxxxxxxxxx on Mon, Mar 19, 2001 at 02:25:19PM -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> <20010319220411.A22344@xxxxxxxxxxxxxxxxxxxxxxx> <87r8ztl7lc.fsf@xxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Matt Armstrong (matt.armstrong@xxxxxxxxxxxx) wrote:
> Adam Spiers <adam@xxxxxxxxxx> writes:
> I was way beyond compinstall -- making custom completers for my own
> commands, etc. Then I stepped back and analyzed the effort I was
> expending for the actual benefit. Using compctl exclusively removes
> the temptation for spending time customizing every command I ever run.
> ;-)
Fair enough :-) I've fallen into the same trap myself in the past,
although I think I've got the balance right now. I'm finding that
writing really simple functions with maybe a _files -W type of
completion often come in incredibly handy, and hardly take any time to
write, for instance.
> > 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.
>
> Thinking back, startup time was not the problem that caused me to
> switch back. It was the fact that simple tab file completion got
> slower. Occasionally I'm doing stuff on slower systems with NFS file
> systems. Completing files with TAB was noticeably slower with the new
> system over the old.
This really bothered me too, so I got rid of the _approximate and
_correct completers (IIRC).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author