help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing a shell prompt


From: Pascal Bourguignon
Subject: Re: changing a shell prompt
Date: Tue, 30 Aug 2005 01:30:06 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]