export CLICOLOR=1 export LSCOLORS=CxFxExDxBxegedabagacedWhen you run the ls command, it will display the files colorized according to their type like this:
Setting CLICOLOR to 1 enables colorization. Setting LSCOLORS to the string shown sets the colors for the different file types.
For a detailed explanation of the attributes and colors and how they are set, see:
How to enable colorized output for ls command in MacOS X Terminal
No comments:
Post a Comment