Bash provides a color feature for certain file types. For example, by default, ls will show directories as blue, utilities green, files white, etc. I know that these colors can be configured to output commands, such as ls, by changing ~ / .dir_colors and other files depending on how widespread the change should be made to the system.
However, during screencasts and presentations, I saw that on the command line itself There are these color modifications. For example, in a bash prompt, if someone enters a utility and starts to enter their arguments, the utility on the line turns green, as it would be in the output of ls. This seems like a nice feature, but all of Googleβs search queries look like changing ls outputs and adjusting colors, but not how to apply this to the command line itself. How can this be applied to the command line? Is this possible via bash or is it a feature of some terminal software that these users use?
source share