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

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

Re: .emacs_bash


From: Peter Dyballa
Subject: Re: .emacs_bash
Date: Mon, 23 Jan 2006 19:55:33 +0100


Am 22.01.2006 um 23:27 schrieb Will Parsons:

So it looks like the extra prompts are related to the lines in .emacs_bash, whether they are comment lines or not. As I said, this is a minor annoyance,
but I still would like a fix and/or explanation if possible.

You could save one more line in ~/.emacs_bash and one more prompt in Emacs' *shell* buffer by checking the value of TERM in .bashrc or such *before* setting LS_OPTIONS -- then you would not need to unset it. Only when TERM is *not* emacs or *not* dumb, then it's worth to set them. Or you check for those xterm (and other) variations in which ls can produce colourful output ...

--
Greetings

  Pete                           <]
             o        __o         |__    o       HPV, the real
    ___o    /I       -\<,         |o \  -\),-%     high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________







reply via email to

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