1

How can I add support for autocompletion with coloring like in the screen shot below to any shell (preferably bash)? It was taken from this video. I cannot seem to find anything that supports such feature.

Project Photon Runs Docker and Rocket Containers via Vagrant and VMware Fusion

1.61803
  • 1,201
  • 2
  • 15
  • 23

1 Answers1

1

For zsh you can install oh-my-zsh (You can easily find it on github and see the installation guid. I can't give your more than 2 links because of my reputation)

oh-my-zsh contains lots of themes and plugins .

Installing some plugins do the job for you, and those plugins are :

colorize

zsh-autosuggestions (it's not a part of oh my zsh !)

alizeyn
  • 111
  • 2
  • The second plugin you mentioned helped me search further. This has already been asked [here](https://unix.stackexchange.com/questions/109366/does-bash-have-similar-features-such-as-fishs-autosuggestions-and-highlighting) a couple of years ago. It seems that it's either [fish](http://fishshell.com) or [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) + [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting), but then there were no ports for `bash`. I wonder what's the state now, although I couldn't find anything similar for it yet. – 1.61803 Jul 24 '17 at 22:03
  • well, you said **any shell** _(preferably bash)_ – alizeyn Jul 25 '17 at 07:31