fix duplicate history search for zsh
allow page-up/down/home/end key naviagion in zsh