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

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



On 18/04/18 10:49 PM, Vincent Bernat wrote:
  ❦ 18 avril 2018 11:53 -0700, Ray Andrews <rayandrews@xxxxxxxxxxx> :

Vincent, what version of zsh are you running?  There were some memory
management optimizations done in the past year or so that might speed
up large history accesses in general.
FI, it is 5.5.1. And HISTFILE is set to 20000 (since years).
Just curious: Why would completion on an empty string everbe useful?
Dunno. I want it to do nothing too if that's what you are asking.
Yeah.  It seems to me that the thing would/should know that it has nothing to do.  It's sorta like writing a program to find the first prime number divisible by two, the program will run for a long time without producing much.  I'm wondering if the devs just overlooked that, or if perhaps the idea of completion on an empty string might actually have some sort of meaning.  Completion seems to be such a complex thing that maybe it does -- the sound of one hand clapping.




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