you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 8 months ago (2 children)

In addition to ctrl-r, there is also fish! Fish does something similar to Ctrl-R, but in an easier to use way. Start typing a command, and then press the up arrow. It will cycle through your history, but only the history that includes the text you've started typing.

  • source
  • hideshow 2 child comments
  • [–] 11 points 8 months ago (1 child)

    This can be enabled in bash by putting these two lines in ~/.inputrc

    "\e[A": history-search-backward
    "\e[B": history-search-forward
    
  • source
  • parent
  • hideshow 1 child comment