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

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

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


From: Pascal J. Bourguignon
Subject: Re: How do I remove the extra bash-3.2$ from shell-mode?
Date: Mon, 04 May 2015 22:50:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Andrew Pennebaker <andrew.pennebaker@gmail.com> 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= in my ~/.bashrc according to an earlier
> 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/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

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