FROM: Tony Q.
Zhang
As I remember, someone posted a message asking how to the default colors of ls --color. well, I happened to find a solution.
The usual "fileutils" rpm should have a program called 'dircolors', however, for some reason, it's missing from col distro (the man page is there though). you can download from others, such as Redhat.
Edit a ~/.dircolors file, put the colors you want there. (examples can be found at www.dotfiles.com, comment lines should explain everything)
Put eval `dircolors ~/.dircolors` in your [.bashrc], or other dot shell files. Then, you are all set.
I finally change all the excutables from green to red, and save myself from keeping upgrading my glasses!
|
|
|