I was wondering:Is there any way to syntax-highlight your currently typed command inside of bash?So that when I type for instance sudo ls -lAF /etc that the entire command is colorcoded according to (e.g.) sudo, the command, the flags of the command and the arguments of it.So the sudo may be red, the ls may be white, the -lAF blue and the /etc may be green.This would give a similar effect to how commands appear when you type them into a Windows Portshell.Any help would be much appreciated.
Bash commandline syntax highlighting
bash;command line;syntax highlighting