GNU bug report logs - #50186
Shell in emacs very annoying using zsh

Previous Next

Package: emacs;

Reported by: "���η�" <orbitingflea <at> qq.com>

Date: Tue, 24 Aug 2021 13:54:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "���η�" <orbitingflea <at> qq.com>
To: "Juri Linkov" <juri <at> linkov.net>
Cc: orbitingflea <orbitingflea <at> qq.com>, 50186 <50186 <at> debbugs.gnu.org>
Subject: bug#50186: Shell in emacs very annoying using zsh
Date: Sat, 28 Aug 2021 17:26:36 +0800
[Message part 1 (text/plain, inline)]
Hello Juri,


&gt; Actually, I see no problems with multi-line prompts in Emacs.
&gt; I tried to use "\n" in PS1 in bash, and then run M-x shell.
&gt; 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?
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.