unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Baloff <washdc@wash.edu>
Subject: Re: changing a shell prompt
Date: 30 Aug 2005 17:38:21 +1000	[thread overview]
Message-ID: <87wtm3kh76.fsf@wash.edu> (raw)
In-Reply-To: 8764tob9tt.fsf@thalassa.informatimago.com

Pascal Bourguignon <spam@mouse-potato.com> writes:

> 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?

set prompt="emacs:$"

> 
> 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-30  7:38 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
2005-08-30  7:38   ` Baloff [this message]
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=87wtm3kh76.fsf@wash.edu \
    --to=washdc@wash.edu \
    /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).