On my linux machine, you can tell intact symlinks from broken ones, because broken ones are colored red. I've tried to set this up on my mac by adding some configurations to PSCOLORS in my .bash_profile, but so far nothing has worked. I've managed to get the coloring to tell apart directories, files, executables, and symlinks. However, the broken symlinks are not a different color than intact symlinks. Searching around on google hasn't rendered any promising results. Ideas? Tricks?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
I don't think it's possible – the man page for Here's a handy
|
||||
|
|
lsthat supports coloring symbolic links for their targets, and colors orphaned links. OS X'slssimply cannot do it. It's 150KB of source code vs. 25KB of source code... – Daniel Beck♦ May 18 '12 at 9:41