bindkey "^[[A" history-beginning-search-backward bindkey "^[[B" history-beginning-search-forward