From: "���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Juri Linkov" <juri@linkov.net>
Cc: orbitingflea <orbitingflea@qq.com>, 50186 <50186@debbugs.gnu.org>
Subject: bug#50186: Shell in emacs very annoying using zsh
Date: Sat, 28 Aug 2021 17:26:36 +0800 [thread overview]
Message-ID: <tencent_D8029F5F81952F3934529C8CC83EDC68A10A@qq.com> (raw)
In-Reply-To: <874kbahlk9.fsf@mail.linkov.net>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 685 bytes --]
Hello Juri,
> Actually, I see no problems with multi-line prompts in Emacs.
> I tried to use "\n" in PS1 in bash, and then run M-x shell.
> No problems noticed :)
Wow! That's surprising to me.
Maybe I should show my zsh config file that generating this bug:
export ZSH="/home/friend/.oh-my-zsh"
ZSH_THEME="ys"
plugins=(git)
source $ZSH/oh-my-zsh.sh
export DISPLAY=`cat /etc/resolv.conf | grep nameserver | awk '{print $2}'`:0.0
export PATH="/home/friend/.local/bin:$PATH"
Here I used "ys" theme of oh-my-zsh, and it has multi-line prompt.
By the way, I tested bash with multi-line prompt, as you said. No problem.
So the problem comes from zsh?
[-- Attachment #2: Type: text/html, Size: 930 bytes --]
next prev parent reply other threads:[~2021-08-28 9:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 2:28 bug#50186: Shell in emacs very annoying using zsh ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-25 11:49 ` Lars Ingebrigtsen
2021-08-26 8:47 ` bug#50186: More details about " ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-26 14:54 ` Michael Heerdegen
2021-08-27 6:10 ` Juri Linkov
2021-08-27 10:58 ` Michael Heerdegen
[not found] ` <tencent_3B44F9B2833A45DF08C3C394D62CB0C29506@qq.com>
2021-08-27 14:54 ` Michael Heerdegen
2021-08-27 16:57 ` Juri Linkov
2021-08-28 9:26 ` ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-08-28 16:28 ` Eduardo Ochs
2021-08-29 2:16 ` 周任飞 via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-27 7:01 ` bug#50186: Multi-line prompt is the reason ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=tencent_D8029F5F81952F3934529C8CC83EDC68A10A@qq.com \
--to=bug-gnu-emacs@gnu.org \
--cc=50186@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=orbitingflea@qq.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).