From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: dpleydel@univ-fcomte.fr
Cc: help-gnu-emacs@gnu.org
Subject: Re: changing the shell prompt
Date: Mon, 30 Jul 2007 15:44:02 +0200 [thread overview]
Message-ID: <3576F753-F7BE-457F-85E8-AC89DAE99E81@Web.DE> (raw)
In-Reply-To: <20070730124324.GA6855@univ-fcomte.fr>
Am 30.07.2007 um 14:43 schrieb David:
> My current shell prompt in emacs shows as...
>
> ^[[01;32mdave@dell-1^[[00m:^[[01;34m~^[[00m$
In GNU Emacs 22 you can invoke
ansi-color-for-comint-mode-on
to make *shell* buffer interpret certain ANSI Esc sequences (you can
also put into an init file). You can use a file ~/.emacs_<shell
interpreter's name> to adjust some settings for *shell* buffer. You
would need to use that shell interpreter's syntax. For example, if
your login shell is bash and you put
PS1="$ "
into ~/.emacs_bash than you'll have a much shorter and monochrome
prompt ...
--
Greetings
Pete
Increase the size of your bike by at least *five* inches!
next prev parent reply other threads:[~2007-07-30 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070730104622.96BC59E82E0@ufc.univ-fcomte.fr>
2007-07-30 12:43 ` changing the shell prompt David
2007-07-30 13:44 ` Peter Dyballa [this message]
[not found] ` <mailman.4123.1185799387.32220.help-gnu-emacs@gnu.org>
2007-07-30 15:08 ` Joel J. Adamson
2007-07-30 15:40 ` Exal de Jesus Garcia Carrillo
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=3576F753-F7BE-457F-85E8-AC89DAE99E81@Web.DE \
--to=peter_dyballa@web.de \
--cc=dpleydel@univ-fcomte.fr \
--cc=help-gnu-emacs@gnu.org \
/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).