DEV Community

Discussion on: Ctrl+R Autocomplete with Bash is a Life Saver

Collapse
 
ben profile image
Ben Halpern

Thanks for the tip. I'll look into it. If you're interested in breaking this out into your own post with an intro + tips on fish, and why you use it, I think that would be useful for folks.

Collapse
 
oktayacikalin profile image
Oktay Acikalin

I'm also a heavy fish user. Perhaps we should write something for fish and zsh?

Thread Thread
 
ben profile image
Ben Halpern

Do it!

Collapse
 
shavs profile image
Stephen Shave • Edited

This is also in Bash, but requires a little bit of config. Put this into your ~/.inputrc file:

"\e[A":history-search-backward
"\e[B":history-search-forward
Enter fullscreen mode Exit fullscreen mode

This emulates the functionality of Oh My Zsh, where if you type a letter or word, then press up or down, it will search through the .bash_history file.

The only thing I miss from Oh My Zsh is a "visual selector" for files, by tabbing through a virtual list, and ignoring cases when tabbing to a folder.