Change ‘ls’ directory colors

Author: nxor
Author Contact: digitalViper@hotmail.com

This is a tutorial from macosxhints.com
(If you use this on your site, please do not edit anything, including this information at the top.)

***************************************************************************
Change ‘ls’ directory colors
ÊMon, Mar 17 ’03 at 08:46AM ¥ from: nxor
Ê
If you run Terminal.app with a black background and a color ‘ls’ command, directories (in bold blue) can be hard to see. You can change the color of directories with an export LS_COLORS command. For example, to make all directories yellow, add this to “.bash_profile” in your home directory:

export LS_COLORS=’di=01;33′
Other good colors for directories are bold white (01;37) and bold purple (01;35). You can find a complete table of ANSI colors in many places; The Linux Documentation Project’s list is one such place.

**********
Article from MacHacking.net Knowledge Base: http://kb.machacking.net

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: