all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: August Karlstrom <fusionfive@comhem.se>
Subject: Re: Messed up shell prompt
Date: Thu, 16 Feb 2006 03:45:11 GMT	[thread overview]
Message-ID: <bzSIf.45003$d5.201402@newsb.telia.net> (raw)
In-Reply-To: <ym7ezmksulih.fsf@violet.china.nokia.com>

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.

      reply	other threads:[~2006-02-16  3:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15 21:48 Messed up shell prompt August Karlstrom
2006-02-16  1:48 ` ChunYe Wang
2006-02-16  3:45   ` August Karlstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bzSIf.45003$d5.201402@newsb.telia.net' \
    --to=fusionfive@comhem.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.