如何在 zsh 中离开执行提示

lol*_*que 15 zsh prompt

在 zsh 中,也许我误按了Alt+ X,但现在我卡住了,这个execute: _提示不会离开。

Ctrl+C什么也不做。如果我按下Enter它会尝试完成我输入的内容。

Enter空行:

execute: _
zsh: do you wish to see all 373 possibilities (64 lines)?
Run Code Online (Sandbox Code Playgroud)

打字q和按下Enter

execute: quote_
quoted-insert  quote-line     quote-region
Run Code Online (Sandbox Code Playgroud)

在其他 shell 中,Alt+X带来相同的行为,除了Ctrl+C取消提示。

有没有办法出去或者这个壳已经死了?

ani*_*tel 16

Ctrl+如果您处于 Emacs 模式(通常是默认模式),则G中止BashZsh 中的当前编辑命令。