Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#468386: zsh-beta: Slow command completion
- X-seq: zsh-workers 24624
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#468386: zsh-beta: Slow command completion
- Date: Thu, 28 Feb 2008 09:54:14 -0800
- Cc: 468386@xxxxxxxxxxxxxxx, Romain Francoise <rfrancoise@xxxxxxxxxx>
- In-reply-to: <20080228172715.GA12451@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <87zltldnde.fsf@xxxxxxxxxxxxxxxxxxxxx> <20080228172715.GA12451@xxxxxxxxxxx>
On Feb 28, 12:27pm, Clint Adams wrote:
} Subject: Re: Bug#468386: zsh-beta: Slow command completion
}
} On Thu, Feb 28, 2008 at 06:03:41PM +0100, Romain Francoise wrote:
} > zsh-beta's command cache is apparently broken: completing a command
} > twice takes the same amount of time both times, whereas in zsh4
} > (from the zsh package) the first completion takes a few seconds and
} > subsequent completions are much faster.
}
} This looks to be a side effect of 24570. Any ideas?
Scrap the part of _path_commands that reads "whatis" output? As I said
in 24570, I think that was a truly horrible idea in the first place.
Or at least protect it with a style that is not generally set for any
other purpose.
The workaround for Romain is probably to enable caching of the output
by creating a cache-policy style for :completion::complete:-command-::
context.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author