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

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

Re: ~/.emacs_bash setting PS1


From: Samuel Karl Peterson
Subject: Re: ~/.emacs_bash setting PS1
Date: Wed, 06 Feb 2008 09:32:04 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> on Wed, 06 Feb 2008 10:05:51
-0500 didst step forth and proclaim thus:

>> file doesn't seem to work.  Oddly enough, I can type 'exit' and then
>> I'll have a shell with the proper PS1 variable set.
>
> Could you give a precise recipe to reproduce this very odd behavior?
>

C-x C-f ~/.emacs_bash
; put this as the only line in the file
export PS1="address@hidden \W]$ "
C-x C-s
C-x C-k
M-x shell
exit

Emacs version: GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version
2.12.0) of 2007-11-06 on terranova, modified by Ubuntu

-- 
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown


reply via email to

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