Add color to ls

By xngo on February 22, 2019

Add the following in .profile:

export CLICOLOR=1

If you want to customize the coloring scheme, then define your color scheme with LSCOLORS. e.g.

export LSCOLORS=ExFxCxDxBxegedabagacad

http://apple.stackexchange.com/a/33679

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.