Is there any smarter bash completion than the normal one. I'm imagining having something like the auto completion feature of Intellij Idea. For example is there is a folder named anExampleFolder, if I type aEF or even aef and then press tab it completes it or somehow open a drop down menu.
fzf ("fuzzy finder for your shell") may be what you're looking for. For your example of cd-ing to anExampleFolder, you have 3 options using fzf:
fzf with recursive list of child directories. Enter fuzzy search term aEF, select match with arrow keys, accept.Note that in all cases the arrow keys may not be necessary, if the fuzzy-search finds what you're looking for as the first match. And it can be used for lots of other stuff besides cd; the GitHub README has plenty of other examples and bindings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With