Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a mapping of ANSI colors to their syntax in a given shell?

For example, in BASH, Blue seems to be Folders and Green seems to be executable files.

Does a list exist for what ANSI colors mean in BASH, SSH, VI, etc.?

share|improve this question
    
Most of it is customizable, too. Vim has a whole plethora of colorschemes on-line, if you're willing to look. –  new123456 Jul 24 '11 at 15:22
add comment

1 Answer

up vote 0 down vote accepted

No, there is no universal mapping. /etc/DIR_COLORS or ~/.dir_colors gives the colors that ls uses; for everything else, consult the relevant documentation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.