Zsh – Make Completion Show First Guess on Same Line Like Fish

autocompletefishzsh

In Fish when you start typing, autocompletion automatically shows the first autocompleted guess on the line itself.

In zsh you have to hit tab, and it shows the autocompletion below. Is there anyway to make zsh behave more like fish in this regard?

(I am using Oh My Zsh…)

Best Answer

I have implemented a zsh-autosuggestions plugin.

It should integrate nicely with zsh-history-substring-search and zsh-syntax-highlighting which are features ported from fish.