Andy's insights

Opinions, thoughts, archivements

Wed, 12 Apr 2006

LS colors

If you ever typed ls into your black console, you may found it annoying that the directories where in dark blue color. This is hardly readable.

Here a short receipt how to change that:

  1. save current settings into a file: cd; dircolor -p > .colorsrc
  2. Edit your settings and change the line starting with ‘’‘DIR’‘’ DIR 01;34 into something more readable DIR 01;37;01
  3. add the following line to your ~/.bashrc if not alreay present: eval 'dircolor -b $HOME/.colorsrc'
  4. Log in or source your .bashrc and check the output of ls

posted at: 16:19 | path: /unix | permanent link to this entry