From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.help Subject: Re: How do I remove the extra bash-3.2$ from shell-mode? Date: Mon, 4 May 2015 17:02:24 -0500 Message-ID: References: <87383cgj8f.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430776963 16064 80.91.229.3 (4 May 2015 22:02:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 22:02:43 +0000 (UTC) Cc: Emacs Help To: "Pascal J. Bourguignon" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 05 00:02:38 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YpORh-0006kJ-1g for geh-help-gnu-emacs@m.gmane.org; Tue, 05 May 2015 00:02:37 +0200 Original-Received: from localhost ([::1]:36100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpORg-0007f5-KK for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2015 18:02:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpORW-0007f0-MU for help-gnu-emacs@gnu.org; Mon, 04 May 2015 18:02:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpORV-00055U-3j for help-gnu-emacs@gnu.org; Mon, 04 May 2015 18:02:26 -0400 Original-Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpORU-00055Q-VF for help-gnu-emacs@gnu.org; Mon, 04 May 2015 18:02:25 -0400 Original-Received: by oign205 with SMTP id n205so123170143oig.2 for ; Mon, 04 May 2015 15:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BxQyGJGpcIZcnuFHZcozR98+hxrejDMkHcqV8uNxRr4=; b=jcmzTF8f7Z/CsZwhvkarZyZgS/QucNdQj6lgAa16AZIN37l7CNutnKLwxqb8CMrwda C+8kLgWXYxdRSwHU6nS4Itb6UJltkUi+vxSlUa6ptmShMfBytoPr5eOr9NML9djAsRvL JxI8014Zqx8i3ajssFDn/hMMhQ12o6MABJQ+SltpFMf/KNIO8Yo/mir8gjMxctEXOzqr i+Op6IY7GkrN+4rc20OIlMWHVSIJcoSEzVmQk3Wz5592AZChcTaoViqxcftxf8dQwNKF EDs9FCyAK1RyiH/yf8nLIz546a2tM4u8OclMu30nBjrNAbwIVEfYQTAroNV68zSf57/7 OJRg== X-Received: by 10.60.101.195 with SMTP id fi3mr19738750oeb.65.1430776944374; Mon, 04 May 2015 15:02:24 -0700 (PDT) Original-Received: by 10.76.125.169 with HTTP; Mon, 4 May 2015 15:02:24 -0700 (PDT) In-Reply-To: <87383cgj8f.fsf@kuiper.lan.informatimago.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104195 Archived-At: Could you be more specific? On Mon, May 4, 2015 at 3:50 PM, Pascal J. Bourguignon wrote: > Andrew Pennebaker writes: > > > Help, the first line of my shell-mode has an extra bash-3.2$ prompt > before > > my git prompt. > > > > I tried writing PROMPT_COMMAND=3D in my ~/.bashrc according to an earli= er > > Stack Overflow post, but bash-3.2$ continues to display anyway. > > What about reading man bash? > Stackoverflow will never replace documentation! > Emacs has a couple of nice commands to read unix manual pages. > Try: M-x man RET bash RET > > -- > __Pascal Bourguignon__ http://www.informatimago.com/ > =E2=80=9CThe factory of the future will have only two employees, a man an= d a > dog. The man will be there to feed the dog. The dog will be there to > keep the man from touching the equipment.=E2=80=9D -- Carl Bass CEO Autod= esk > --=20 Cheers, Andrew