Zsh port of Fish shell's history search.
