Hacker News new | ask | show | jobs
by ash 2302 days ago
> Bash already has autocomplete

What kind of autocomplete does bash have? Do I need to enable it? I've just tried bash 5.0.16. I don't see any. For example, I've typed `pw`, but `pwd` was not suggested to me.

(I know there's Tab-completion, this is not what I'm talking about. I'm looking for automatic completion. Similar to Google's search suggestions and CLUI demo.)

3 comments

I think fish has that?
Thanks! Fish is close, but not there yet. It provides only a single autocomplete suggestion. I had to press Tab to get a list of suggestions. So:

bash: no auto suggestion at all, Tab twice to see a list

fish: shows single auto suggestion, Tab once to get a list

zsh + zsh-autosuggestions: looks similar to fish behaviour

Is there some combination of shell/plugin/terminal that provides multiple auto suggestions?

Tab twice.
The feature you are looking for exists in `fish`