help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Shell Ansi Colors


From: Richard Riley
Subject: Re: Emacs Shell Ansi Colors
Date: Mon, 29 Sep 2008 16:22:57 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Paul R <paul.r.ml@gmail.com> writes:

> On Mon, 29 Sep 2008 12:48:53 +0200, "Lorenzo Isella" 
> <lorenzo.isella@gmail.com> said:
> Lorenzo> So it looks like there could be a problem with the TERM
> Lorenzo> environment variable (but do not ask me what this stands
> Lorenzo> for). I suppose (hope?) this is a one-liner for somebody
> Lorenzo> really knowledgeable about emacs. Kind Regards
>
> Yes, probably. Just read your ~/.bashrc and /etc/profile. Both files
> are source'd when your shell starts. I suspect something like an alias
> from 'ls' to 'ls --color' to be set in a conditionnal switch. If your
> term is dumb (env | grep TERM), the alias is not made. Just ensure by
> the mean you want that this alias occurs even in emacs shell mode.

I am not sure .bashrc is sourced when you start "shell". It doesnt seem
to be here on my debian system. I think you need a .emacs_bash. Which is
different from a few years ago. Maybe someone more knowledgeable can
comment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]