[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing the shell prompt
From: |
Peter Dyballa |
Subject: |
Re: changing the shell prompt |
Date: |
Mon, 30 Jul 2007 15:44:02 +0200 |
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!