Not too sure how to describe this... but I saw this on a person's computer a cafe today and didn't get a chance to ask him what plugin/application he was using --

I think it best to illustrate with an example:

Say there's a directory with three folders, 'kitty', 'doggie', and 'frog'.

Typing cd f would make the letters rog appear after the 'f', but rog would be in a lighter color of text (a greyed color) -- it was a sort of "visible autocomplete", not sure what else to call it. Anyone know how to achieve this? Thanks.

3 Answers 3


This is a feature of the fish shell (Friendly Interactive Shell).

Image of feature

fish's scripting syntax is also quite a bit different from bash and zsh's. If you use zsh, you can also try the zsh-autosuggestions plugin on Github.


There is also a plugin for oh-my-zsh: https://github.com/zsh-users/zsh-autosuggestions. It explicitly aims at Fish-like functionality.


Sounds like like iTerm2 feature.

See this for complete list of Features including the Autocomplete and Highlighting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .