Is it possible to color the completed part of the partial completion results in Zsh?
Fish does this by default (in Gentoo at least) as shown in the image below:
Full size image: http://i.imgur.com/tN6w3.png
Is it possible to color the completed part of the partial completion results in Zsh?
Fish does this by default (in Gentoo at least) as shown in the image below:
Full size image: http://i.imgur.com/tN6w3.png
I think [1] is thing you want. You need menu and select as @svlasov commented.
[1]. ZSH highlight on tab
(Taken from reddit thread, added here to help people searching for this, like I did.)
I long time ago (2002) i wrote a experimental shell script to explain about control characters in shell. Check this out http://cltfc.sites.uol.com.br/ and you gonna see a lot of examples about how to color, make sounds and positioning of any char on your black screen. But this is for Bash and i do not know if they are compatible.
Anyway, for Zsh, check this page http://spiralofhope.wordpress.com/2009/04/23/zsh-ansi-prompt/ and you gonna see some examples of how to customize your prompt with colors. The same ANSI codes for colors and the same syntax should work when you use directly on the shell.