From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: changing a shell prompt Date: Tue, 30 Aug 2005 01:30:06 +0200 Organization: Informatimago Message-ID: <8764tob9tt.fsf@thalassa.informatimago.com> References: <87u0h8e5p1.fsf@wash.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125358616 528 80.91.229.2 (29 Aug 2005 23:36:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 23:36:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 01:36:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9tAB-00014C-27 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Aug 2005 01:35:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9tEH-0008Se-Ku for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Aug 2005 19:39:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!easynet-monga!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:evPRV8HGDPshKI+f2Cer4fN2X6A= Original-Lines: 31 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=_jE:fo??DS\5K^>KhRLlSZEY<>`XO4V7]>Uh List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29074 Archived-At: Baloff 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?