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: Andrew Pennebaker
Subject: Re: How do I remove the extra bash-3.2$ from shell-mode?
Date: Mon, 4 May 2015 19:09:26 -0500

Emacs seems to be printing its default PS1 prompt before emacs_bash has
fully executed. Is there a way to suppress this?

On Mon, May 4, 2015 at 5:00 PM, Pascal J. Bourguignon <pjb@informatimago.com
> wrote:

> "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
>



-- 
Cheers,
Andrew


reply via email to

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