Shell Tips
ID #1002
How do I get color in my terminal?
There are a few things you can do to get color output on your terminal:
Make sure your terminal is set to one that supports color. I set my TERM variable to 'xterm-color' here on my mac, 'xterm' should be fine as well. In your .profile, put:
export TERM=xterm-color
Use color-ls. Put this in your .profile (assuming bash / ksh):
alias ls='/usr/local/bin/colorls -FG'
Use vim instead of the stock vi. Again, in your .profile:
alias vi=vim
export TERM=xterm-color
alias ls='/usr/local/bin/colorls -FG'
alias vi=vim
Tags: -
Related entries:
Author: Dave Steinberg
Revision: 1.0
You cannot comment on this entry