Fish-shell: (reverse-)i-search on command-line?

Created on 11 Nov 2015  ·  3Comments  ·  Source: fish-shell/fish-shell

In zsh/bash, I can use ctrl-r and ctrl-s for (reverse-)i-search on the command-line. I know that fish has its own history completion/searching mechanism which I love, but I really miss being able to search within a command that I am currently typing in the shell.

Am I missing a hidden feature?

duplicate

Most helpful comment

You can try entering part of what you are looking for in the command-line and the do a history search by pressing the up and down keys. e.g.

$ www. <UP-KEY>

becomes

$ curl wwww.google.com

All 3 comments

You can try entering part of what you are looking for in the command-line and the do a history search by pressing the up and down keys. e.g.

$ www. <UP-KEY>

becomes

$ curl wwww.google.com

There is currently no reverse search in fish, you can check https://github.com/fish-shell/fish-shell/issues/602 which track this issue. This issue is DUPLICATED!

Thanks for reporting. Good luck and have a nice day!

The comments are correct - we don't currently have i-search as such, and that is tracked in #602. Thanks!

Was this page helpful?
0 / 5 - 0 ratings