1 |
On Wed, 14 Jul 2010 20:35:43 +0100 Jorge Almeida <jjalmeida@×××××.com> |
2 |
wrote: |
3 |
|
4 |
> How can I prevent bash of blinking when running "ls -l" on a directory |
5 |
> with broken links? The thing gets in the way, and it is really |
6 |
> unbearable if a directory contains lots of broken links. I didn't |
7 |
> manage to google my way around this problem. Maybe some other package |
8 |
> has to be reconfigured... |
9 |
|
10 |
Look into /etc/DIR_COLORS |
11 |
|
12 |
According to these codes: |
13 |
|
14 |
# Below are the color init strings for the basic file types. A color init |
15 |
# string consists of one or more of the following numeric codes: |
16 |
# Attribute codes: |
17 |
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed |
18 |
# Text color codes: |
19 |
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white |
20 |
# Background color codes: |
21 |
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white |
22 |
|
23 |
I have |
24 |
|
25 |
ORPHAN 01;05;37;41 # orphaned syminks |
26 |
MISSING 01;05;37;41 # ... and the files they point to |
27 |
|
28 |
So you probably want to change the 05 into something else or remove it. |
29 |
Just experiment and to test it do |
30 |
|
31 |
eval `dircolors -b /etc/DIR_COLORS` |