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

Re: Bug#468386: zsh-beta: Slow command completion



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