Terminal/iTerm Autocomplete "greyed" functionality?
This is a feature of the fish shell (Friendly Interactive Shell).



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.