how do i get the mac terminal to display colors? i.e. in fedora when i use ls it color codes the results based on if it's a file or folder. similar results on mac?
|
feedback
|
|
You can change your shell colors in Terminal's preferences.
With these settings, you get these colors (not usually using colored
I don't understand what the issue is here. Colored command output is active by default. The only thing you can/need to do yourself is give normal and bold text different default colors, and actually use the colored variants (e.g. For vim: | |||||||||
feedback
|
|
Add, these lines to the end of your
As you can see, customizing them is a bit of a pain, but there's a website that helps with that... http://geoff.greer.fm/lscolors/ Now when you open the Terminal it will have colors in | |||||||||||
feedback
|
|
Use the ls -G If you'd like the standard ls to always be colored, add this to your alias ls='ls -G' | |||
|
feedback
|


lswhich you'd like to have colorized and in what way? There are various colorizers that can be used in pipelines to highlight text based on regexes either in config files or on the command line. – Dennis Williamson Jan 13 '11 at 16:57