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: How do I remove the extra bash-3.2$ from shell-mode? Date: Mon, 4 May 2015 15:48:19 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1430772514 10151 80.91.229.3 (4 May 2015 20:48:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 20:48:34 +0000 (UTC) To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 04 22:48:33 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 1YpNI0-0004i9-6L for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2015 22:48:32 +0200 Original-Received: from localhost ([::1]:35947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpNHz-0000ir-Ll for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2015 16:48:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpNHp-0000hQ-HJ for help-gnu-emacs@gnu.org; Mon, 04 May 2015 16:48:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpNHo-0008EU-Lz for help-gnu-emacs@gnu.org; Mon, 04 May 2015 16:48:21 -0400 Original-Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]:33763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpNHo-0008EI-GX for help-gnu-emacs@gnu.org; Mon, 04 May 2015 16:48:20 -0400 Original-Received: by obblk2 with SMTP id lk2so76675353obb.0 for ; Mon, 04 May 2015 13:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zB7UpY2tuLR4QCxVRtoo0lUDSQM9GlYWZjgpujz/I1w=; b=NZ4EgUrhGUtiJR0XVRrh0F9v9nhK0Z1mCxBmqHit72v+T0GWK0UaR5UhKL5wlGMlQL 8m288FLuljTS2zoboxW3+zJbeYzDxASQ4pnTY6RtP52FFamMenMSmWoMD7UWIQRlhx/r 1uvneblyB3W6/SMER03WVnLxR5Rtif3Bhj6QAs11K2Y46ANksMRLuxSmDGez+ajvyrnM TXGTO0FFxaPM4Fu94/2XObx5RazDcyL8R1QpvLbOKMStkJlnPGuGEQ5e8MXWsT67zmzx zTjHtT+PVopQK6Lnss92WhKDVX/H2SPcyM8BD+AXn52d/EotOpQGxEtivy+HwnS2MO2l IUXg== X-Received: by 10.202.183.214 with SMTP id h205mr13838731oif.87.1430772499213; Mon, 04 May 2015 13:48:19 -0700 (PDT) Original-Received: by 10.76.125.169 with HTTP; Mon, 4 May 2015 13:48:19 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22c 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:104193 Archived-At: Help, the first line of my shell-mode has an extra bash-3.2$ prompt before my git prompt. I tried writing PROMPT_COMMAND= in my ~/.bashrc according to an earlier Stack Overflow post, but bash-3.2$ continues to display anyway. M-x shell-mode RET Expected: dotfiles (master)$ RET dotfiles (master)$ RET dotfiles (master)$ RET Observed: bash-3.2$ dotfiles (master)$ RET dotfiles (master)$ RET dotfiles (master)$ RET Configuration: * https://github.com/mcandre/dotfiles/blob/master/.emacs * https://github.com/mcandre/dotfiles/blob/master/.emacs_bash * https://github.com/mcandre/dotfiles/blob/master/.bash_profile * https://github.com/mcandre/dotfiles/blob/master/.bashrc * https://github.com/mcandre/dotfiles/tree/master/.bashrc.d * https://github.com/mcandre/dotfiles/tree/master/.bash_profile.d System: * emacs 24.4.1 * bash 3.2.57 * Mac OS X 10.10.3 -- Cheers, Andrew