unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: changing a shell prompt
Date: Tue, 30 Aug 2005 01:30:06 +0200	[thread overview]
Message-ID: <8764tob9tt.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 87u0h8e5p1.fsf@wash.edu

Baloff <washdc@wash.edu> writes:

> Hello
>
> in trying to change my shell prompt, I created a file .emacs_bash
> since my shell is bash
> $which bash
> /bin/bash
>
> when I M-x shell
> I still don't get the new prompt I specified in the file .emacs_bash

And what do you put in ~/.emacs_bash?

For example, I've got this:

alias less=cat ; alias more=cat ; echo Hi! ; PS1='PROMT>'

and when I M-x shell, I get:

[pjb@thalassa pjb]$ Hi!
PROMT> echo 'Howdy?'
Howdy?
PROMT>


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

In a World without Walls and Fences, 
who needs Windows and Gates?

  reply	other threads:[~2005-08-29 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29 22:31 changing a shell prompt Baloff
2005-08-29 23:30 ` Pascal Bourguignon [this message]
2005-08-30  7:38   ` Baloff
2005-08-30  7:40     ` Pascal Bourguignon

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=8764tob9tt.fsf@thalassa.informatimago.com \
    --to=spam@mouse-potato.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).