Regardless of the fact that I use the term or ansi-term to run zsh in Emacs, I encounter this problem, whenever I enter commands, there will be some unwanted characters in the output, for example:
[ruby-1.9.2] ~ pwd 2; pwd1; PWD / Users / tyraeltong
"2; pwd1; pwd" fastens the output; I donβt know if the other problems are the same? I found a similar theme here Getting Emss ansi-term and Zsh to play well , but [[$ TERM == eterm-color]] && & && export TERM = xterm I still see unnecessary characters.
source share