Eu nunca usei fish
, mas uma pesquisa superficial no google trouxe esta página , que afirma que
Powerful History Mechanism
Modern shells save previous commands in a command history. You can view earlier commands by using the up and down arrows. Fish extends this concept by integrating the history search functionality. To search the history, simply type in the search string, and press the up arrow. By using the up and down arrow, you can search for older and newer matches. The fish history automatically removes duplicate matches and the matching substring is highlighted. These features make searching and reusing previous commands much faster.
É isso que você está procurando? Parece bastante semelhante ao bash.