Stick this into your shell’s rc file. If you use bash, .bashrc. I use zsh, so .zshrc.
# make ls display colors, reinforce with CLICOLOR and LSCOLORS export CLICOLOR=1 # LSCOLORS order: DIR, SYM_LINK, SOCKET, PIPE, EXE, BLOCK_SP # CHAR_SP, EXE_SUID, EXE_GUID, DIR_STICKY, DIR_WO_STICKY # a = black, b = red, c = green, d = brown, e = blue, # f = magenta g = cyan, h = light gray, x = default # lowercase is bold export LSCOLORS=gxex
This particular LSCOLORS configuration makes directors bold cyan and sym links dark blue. All the rest are default.
2 Comments
Thanks for that man really helped, thumbs up! :D
Thanks for your comment. You’re welcome.
One Trackback
[...] Xia, i'll put something here soon 1 vote by Anon UserThis worked for me. http://www.davidxia.com/2011/08/…This answer .Please specify the necessary improvements. Edit Link Text Show answer summary [...]