Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change 'ls' directory colors' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change 'ls' directory colors
Authored by: jyncroft on Mar 19, '03 01:25:24AM

For those that aren't getting this to work, you probably need to add an alias to your startup files along the lines of:

alias ls='ls -FsC --color=auto' # for zsh (or sh derivative)

alias ls 'ls -FsC --color=auto' # for csh derivatives

It's the --color=auto that's important. And, I don't think you have this option with the default ls command found in /bin/ls. You'll need to install a different one, like the one from fink (install the fileutils package).

Good luck, Jennifer



[ Reply to This | # ]