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: ChunYe Wang
Subject: Re: Messed up shell prompt
Date: Thu, 16 Feb 2006 01:48:07 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

August Karlstrom <fusionfive@comhem.se> writes:

> Hi everyone,
> 
> 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?
> 
> 
> 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.


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

-- 
Wang ChunYe


reply via email to

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