如何在没有 PowerShell 的情况下获得 Windows 终端提示符?

g.p*_*dou 5 powershell windows-terminal windows-11

我使用的是 Windows 11。似乎预装了 Windows Terminal。但是,当终端选项卡式界面启动时,我在终端中收到 PowerShell 7 提示。(如果我输入 exit 希望 PowerShell 只是在另一个 shell 上运行,那么整个事情都会退出)

问题

有没有办法只使用普通 shell 启动 Windows 终端?

在此输入图像描述

Ram*_*und 15

\n

有没有办法只使用普通 shell 启动 Windows 终端?

\n
\n

您可以在 Windows 终端的“设置”选项卡中设置默认配置文件。

\n
\n

在此输入图像描述

\n
\n

来源:如何在 Windows 11 上使 Windows 终端始终使用命令提示符打开

\n

严格来说,Windows Terminal 实际上并不是一个模拟器,它是一个主机应用程序(Microsoft\xe2\x80\x99 自己的话),它利用 Microsoft 内部的钩子成为 Command 的默认主机应用程序提示、PowerShell 和 WSL。它只是替换(或在 Windows 10 上并存)Windows 内置的默认主机应用程序。

\n