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: Tue, 05 May 2015 00:00:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:

> Andrew Pennebaker <andrew.pennebaker@gmail.com> writes:
>
>> Could you be more specific?
>
> Use the features of emacs, like, say, C-s

Actually, no.

The point of unix manual page is that they should be READ!

You should definitely read the manual page of bash from begin to end.

I know it's one of the biggest pages, nonetheless, since bash is a
program you're using all the time, you should read its documentation.

There's no way out.


>> On Mon, May 4, 2015 at 3:50 PM, Pascal J. Bourguignon <pjb@informatimago.com
>>> wrote:
>>
>>> 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
>>>

-- 
__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]