--- .bashrc.old 2006-05-09 12:29:58 +0200 +++ .bashrc 2006-07-16 17:02:30 +0200 @@ -15,10 +15,14 @@ fi # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 -if [[ -f ~/.dir_colors ]]; then - eval `dircolors -b ~/.dir_colors` +if which dircolors 2>&1 >/dev/null; then + if [[ -f ~/.dir_colors ]]; then + eval `dircolors -b ~/.dir_colors` + else + eval `dircolors -b /etc/DIR_COLORS` + fi else - eval `dircolors -b /etc/DIR_COLORS` + export CLICOLOR=1 fi # Change the window title of X terminals