all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do I remove the extra bash-3.2$ from shell-mode?
@ 2015-05-04 20:48 Andrew Pennebaker
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Pennebaker @ 2015-05-04 20:48 UTC (permalink / raw)
  To: Emacs Help

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-05  1:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2337.1430772503.904.help-gnu-emacs@gnu.org>
2015-05-04 20:50 ` How do I remove the extra bash-3.2$ from shell-mode? Pascal J. Bourguignon
     [not found]   ` <mailman.2343.1430776948.904.help-gnu-emacs@gnu.org>
2015-05-04 21:58     ` Pascal J. Bourguignon
2015-05-04 22:00       ` Pascal J. Bourguignon
2015-05-05  0:09         ` Andrew Pennebaker
2015-05-05  0:37           ` Robert Thorpe
2015-05-05  1:42             ` Andrew Pennebaker
     [not found]         ` <mailman.2355.1430784572.904.help-gnu-emacs@gnu.org>
2015-05-05  0:20           ` Pascal J. Bourguignon
2015-05-04 22:02   ` Andrew Pennebaker
2015-05-04 20:48 Andrew Pennebaker

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.