[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing a shell prompt
From: |
Baloff |
Subject: |
Re: changing a shell prompt |
Date: |
30 Aug 2005 17:38:21 +1000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
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?