Hacker News new | ask | show | jobs
by 10ren 5932 days ago
I use up-arrow for that. My .inputrc has:

    "\e[A": history-search-backward
If you don't type anything, it acts exactly as the old up-arrow.
1 comments

Or in ~/.zshrc:

    bindkey '\e[A'  history-beginning-search-backward