3 ms·
Map <up> and <down> to do the same in .zsh: # search history on <up> key instead of paging previous commands: bindkey "\e[A" history-search-backward bind
by uggedal 17y ago
Map <up> and <down> to do the same in .zsh:
# search history on <up> key instead of paging previous commands:
bindkey "\e[A" history-search-backward
bindkey "\e[B" history-search-forward
- apu 17y agoOr in bash, using .inputrc (readline): "\e[A": history-search-backward "\e[B": history-search-forward