Use history-beginning-search-* in zsh.