So I have a custom LS_COLORS
setup, and in that I have the following:
mi=05;01;33:
or=05;01;33:
mi
is for missing files on the right column when in ls's list view, and or
is for a missing files in normal ls mode, or on the left in list mode. The above sets it so that both flash in bright yellow. I set it like that because I thought having it flash would be the most obvious way to alert myself to a missing link, which works great.
But the problem is when I run the python in interactive mode and ask for tab completion, e.g. import re
then re.[tab key]
. Instead of just getting a normal list whatever is in mi
in LS_COLORS
gets applied to the suggestions. So I end up with a screen full of blinking text which makes it borderline impossible to read at any reasonable rate.
The same thing happens when I use tab completion in the postgresql interactive mode console. Exactly the same as python. Most other programs or similar are fine though, and bash completion is fine.
Are these programs using ls
to format their output? I've currently just changed mi
back to something else to get around the problem, and it doesn't really matter because I can still see broken links via or
. But I'd be really curious to know why this is happening and if I can stop it.