2013-10-08

Change illegible blue color in /bin/ls output

On some LCD monitors, the default blue-on-black color used by /bin/ls for directories is unreadable. There are probably better ways of fixing this, but this one worked for me:

Edit ~/.bash_profile, add line:

 export LS_COLORS="di=01;36:"




The same problem occurs in vim; here, we put the following line in ~/.vimrc:

colorscheme desert

No comments:

Post a Comment