From: ChunYe Wang <LeafWang@126.com>
Subject: Re: Messed up shell prompt
Date: Thu, 16 Feb 2006 01:48:07 GMT [thread overview]
Message-ID: <ym7ezmksulih.fsf@violet.china.nokia.com> (raw)
In-Reply-To: RkNIf.44986$d5.201192@newsb.telia.net
August Karlstrom <fusionfive@comhem.se> writes:
> Hi everyone,
>
> 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?
>
>
> 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
next prev parent reply other threads:[~2006-02-16 1:48 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 [this message]
2006-02-16 3:45 ` August Karlstrom
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ym7ezmksulih.fsf@violet.china.nokia.com \
--to=leafwang@126.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).