

- CHANGE THE COLOR FOR DIRECTORIES WITH LS MAC HOW TO
- CHANGE THE COLOR FOR DIRECTORIES WITH LS MAC MAC OSX
There are 2 ways to fix this annoying coloring. After google that, it is due to the write permission of the others (as the red mark in the picture). bashrc file in your home directory ($HOME/.bashrc). Recently, I found some directory become green highlighted in the background when I issue ls command as below picture. If you want to save it, you must write this value in.

Please note that this modification is not permanent. If you modify the first, which is ever set to 0 in this example, you can set it to 1 to have the light version of the color. You can see that only the second element change. You can try to play with the color pair but the official list is here :

Some other variables like PS2, PS3 and PS4 exist. Bash displays the primary prompt PS1 when it is ready to read a command, and the secondary prompt PS2 when it needs more input to complete a command.
CHANGE THE COLOR FOR DIRECTORIES WITH LS MAC MAC OSX
In Linux, Unix and Mac OSX environnement, the prompt settings are stored into a shell variable called PS1. As linux user, I use very often the terminal and I think that default look and feel of terminal is not pretty good.
CHANGE THE COLOR FOR DIRECTORIES WITH LS MAC HOW TO
In this post, I just will explain how to easily change the color of the text in a Linux terminal.
