|
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 [0;34m[august ~]$ [0m 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.
[Prev in Thread] | Current Thread | [Next in Thread] |