all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to change the bash prompt for ansi-term?
@ 2015-04-09  1:47 Jai Dayal
  2015-04-09  4:32 ` Xavier Maillard
  0 siblings, 1 reply; 2+ messages in thread
From: Jai Dayal @ 2015-04-09  1:47 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Jai


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to change the bash prompt for ansi-term?
  2015-04-09  1:47 How to change the bash prompt for ansi-term? Jai Dayal
@ 2015-04-09  4:32 ` Xavier Maillard
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Maillard @ 2015-04-09  4:32 UTC (permalink / raw)
  To: Jai Dayal; +Cc: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-09  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-09  1:47 How to change the bash prompt for ansi-term? Jai Dayal
2015-04-09  4:32 ` Xavier Maillard

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.