ctrl + r
Starts a search through your history file.
Starts a search through your history file.
# search history on <up> key instead of paging previous commands:
bindkey "\e[A" history-search-backward
bindkey "\e[B" history-search-forward "\e[A": history-search-backward
"\e[B": history-search-forward