OS X: bash colours

Add this to the .bash_profile to get some colours going. The current directory is appended to the prompt and coloured red. Directories are a light blue, executables are red and other stuff is black.

# TERMINAL #
export CLICOLOR=1
export TERM=xterm-color
export LSCOLORS=gxgxcxdxbxegedabagacad # cyan directories
export LC_CTYPE=en_US.UTF-8
export PS1=’\u@\h:\[\e[1;31m\]\W\[\e[0m\]$ ‘

Advertisements

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