Terminal and color?

Knute Johnson ubuntu at knutejohnson.com
Thu Jun 16 17:03:44 UTC 2011


On 06/16/2011 09:44 AM, Tony Pursell wrote:
> On Thu, 2011-06-16 at 09:33 -0700, Knute Johnson wrote:
>> My Terminal lost its color.  Before when I would do an ls it would show
>> programs in green and images in magenta but now they are all black.  I
>> must have done something to it but I don't have a clue how to get it
>> back.  Any ideas? 10.10
>>
>> Thanks,
>>
>
> Colour support is enabled in my .bashrc file with this
>
> # 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
>
> Check that you have it. And BTW you won't get colour if you do something
> like
>
> ls | less
>
> Tony

Thanks Tony, I have color now.  And I know what caused it to go away.  I 
didn't have a .bashrc and I wanted to add a CDPATH so I created one. 
Just didn't remember that's when the color stopped.  So now I have to 
figure out where the color was coming from before I created the .bashrc 
file.

-- 

Knute Johnson
ubuntu at knutejohnson.com




More information about the ubuntu-users mailing list