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

Re: make history-complete-older do nothing on empty string



On Wed, 18 Apr 2018 13:58:17 +0100
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> So when you interrupted it it was apparently reading in 66742 history
> words; there's nothing further at the end of the file?  (We can tweak
> complete_debug to add timing info if it's helpful, see below.)

Come to think of it, the fact that it's outputting all those words for
debug purposes is going to make a big difference, so I'm not sure how
much this is telling us.  If this turns out not to be the crucial point,
we can disable debugging around it.

> Is the behaviour acceptable if you use the style, for example:
> 
> zstyle ':completion:history-words:*' range 100
> 
> ?

This should give some indication, though.

pws



Messages sorted by: Reverse Date, Date, Thread, Author