zsh: fixed substring history searching with up/down arrows