On Wed, Apr 27, 2016 at 2:14 AM, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote: > > The code is slower than core utils pipeline but I've found a nice way > to solve this, wanting to preserve Zsh portability – a cache You could update the cache in a zshaddhistory hook to make it continuously accurate.