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

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

Re: Messed up shell prompt


From: August Karlstrom
Subject: Re: Messed up shell prompt
Date: Thu, 16 Feb 2006 03:45:11 GMT
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

ChunYe Wang wrote:
August Karlstrom <fusionfive@comhem.se> writes:
When I start a shell in Emacs with `M-x shell' I get the prompt

   [august ~]$ 

instead of

   [august ~]$

The value of the PS1 environment variable in ~/.bashrc is

   export PS1="\[\033[0;34m\][\u \W]\$ \[\e[0m\]"

Any clues?

(add-hook 'shell-mode-hook (lambda () (ansi-color-for-comint-mode-on)))

Thank you ChunYe.


August

--
I am the "ILOVEGNU" signature virus. Just copy me to your
signature.  This email was infected under the terms of the GNU
General Public License.


reply via email to

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