unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* changing a shell prompt
@ 2005-08-29 22:31 Baloff
  2005-08-29 23:30 ` Pascal Bourguignon
  0 siblings, 1 reply; 4+ messages in thread
From: Baloff @ 2005-08-29 22:31 UTC (permalink / raw)


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

thanks for helping

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing a shell prompt
  2005-08-29 22:31 changing a shell prompt Baloff
@ 2005-08-29 23:30 ` Pascal Bourguignon
  2005-08-30  7:38   ` Baloff
  0 siblings, 1 reply; 4+ messages in thread
From: Pascal Bourguignon @ 2005-08-29 23:30 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing a shell prompt
  2005-08-29 23:30 ` Pascal Bourguignon
@ 2005-08-30  7:38   ` Baloff
  2005-08-30  7:40     ` Pascal Bourguignon
  0 siblings, 1 reply; 4+ messages in thread
From: Baloff @ 2005-08-30  7:38 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing a shell prompt
  2005-08-30  7:38   ` Baloff
@ 2005-08-30  7:40     ` Pascal Bourguignon
  0 siblings, 0 replies; 4+ messages in thread
From: Pascal Bourguignon @ 2005-08-30  7:40 UTC (permalink / raw)


Baloff <washdc@wash.edu> writes:
>> > 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:$"
>> alias less=cat ; alias more=cat ; echo Hi! ; PS1='PROMT>'

And you don't see something strange here?

Please read man bash and come back to us when you're done!

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

This is a signature virus.  Add me to your signature and help me to live

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-30  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 22:31 changing a shell prompt Baloff
2005-08-29 23:30 ` Pascal Bourguignon
2005-08-30  7:38   ` Baloff
2005-08-30  7:40     ` Pascal Bourguignon

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).