unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xavier Maillard <xavier@maillard.im>
To: Jai Dayal <dayalsoap@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to change the bash prompt for ansi-term?
Date: Thu, 09 Apr 2015 06:32:10 +0200	[thread overview]
Message-ID: <86k2xl53cl.fsf@kcals2.maillard.im> (raw)
In-Reply-To: <CAMJ-YiRY4KeC9EuXEGg809XzxYSVqHkq6BYSd8bY2V-aOoHxMg@mail.gmail.com>

Hello Jai,

Jai Dayal <dayalsoap@gmail.com> writes:

> Basically, I have in my .bashrc a line that changes the PS1 environment
> variable. When I do M-x ansi-term, the terminal doesn't seem to respect
> this and the prompt is very long. Any advice?

We need more informations:

1. post your PS1
2. did you try with emacs -Q
3. what is your emacs version ?


-- Xavier.



      reply	other threads:[~2015-04-09  4:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  1:47 How to change the bash prompt for ansi-term? Jai Dayal
2015-04-09  4:32 ` Xavier Maillard [this message]

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=86k2xl53cl.fsf@kcals2.maillard.im \
    --to=xavier@maillard.im \
    --cc=dayalsoap@gmail.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).