From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I remove the extra bash-3.2$ from shell-mode?
Date: Tue, 05 May 2015 00:00:15 +0200 [thread overview]
Message-ID: <87r3qwf1g0.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 87y4l4f1in.fsf@kuiper.lan.informatimago.com
"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
next prev parent reply other threads:[~2015-05-04 22:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3qwf1g0.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).