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

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

How do I remove the extra bash-3.2$ from shell-mode?


From: Andrew Pennebaker
Subject: How do I remove the extra bash-3.2$ from shell-mode?
Date: Mon, 4 May 2015 15:48:19 -0500

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


reply via email to

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