> In your terminal, at the zsh prompt, hit Control-v followed by the > up-cursor key. What does that insert into the command line? I recently discovered fishshell.com which has a very nice implementation of this feature. See: https://github.com/graysky2/configs/blob/master/shell/.zsh/lib/substring-search.zsh