Various problems

Andy ubuntu at arda.demon.co.uk
Wed Oct 6 21:11:39 UTC 2004


antongiulio wrote:
>>>3) bash (with gnome-terminal) has not "coloured" dir, files, ecc, only black and white
>>
>>Check that the appropriate lines are uncommented in your .bashrc file - 
>>IIR they were commented out by default and I had to uncomment them
>>
>>Andy
> 
> 
> in my .bashrc there is only:

Strange. Maybe I added it myself - can't remember! Anyway, try adding:

<code>
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
     eval `dircolors -b`
     alias ls='ls --color=auto'
     #alias dir='ls --color=auto --format=vertical'
     #alias vdir='ls --color=auto --format=long'
fi
</code>

Uncomment the dir and vdir lines if you want them.

HTH

Andy





More information about the ubuntu-users mailing list