all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* prompt string not recognized by term or ansi-term
@ 2014-09-06 23:21 Shiyuan
  2014-09-09  2:54 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Shiyuan @ 2014-09-06 23:21 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,
   I am using zsh and have some special setup for the prompt string. It
works well in Terminal.app in Mac. But in Emacs term mode, something is not
right.

In my .zshrc file, I set

PROMPT="%{$fg_bold[green]%}[%d]%{$reset_color%}>"
In Emacs term mode, the color  and the directory are correctly recognized,
but there is an extra character "4m" in front,

4m[/Users/shiyuang/lisp]>

---------
Where does  the "4m" come from? It's not there in Terminal.app which is
also using the zsh. Any explanations or references ?  Thank you.

Shiyuan


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

end of thread, other threads:[~2014-09-09  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-06 23:21 prompt string not recognized by term or ansi-term Shiyuan
2014-09-09  2:54 ` Michael Heerdegen

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.