history-search-backward working differently in zsh than in bash
Solution 1:
Bind the history search of zsh to [Page UP]
and [Page Down]
bindkey "^[[5~" history-beginning-search-backward
bindkey "^[[6~" history-beginning-search-forward
Bind the history search of zsh to [UP]
and [Down]
bindkey "^[[A~" history-beginning-search-backward
bindkey "^[[B~" history-beginning-search-forward