在 Mac 上的 Visual Studio 代码中更改终端提示符 color/theme
Change terminal prompt color/theme in Visual Studio Code on Mac
我想在 Visual Studio 上将集成终端中的主题更改为代码:
如您所见,提示中有背景颜色。
在哪里以及如何执行此操作?我使用 Mac 和 zsh.
这不需要在 VS 代码中配置,而是在您的 shell 中配置。该样式在您的 Mac 上称为 Powerline and you can get it for zsh with Oh My Zsh. Probably you have to install a Powerline font 并配置 VS 代码以将其用于 shell 以便正确呈现提示。
我想在 Visual Studio 上将集成终端中的主题更改为代码:
如您所见,提示中有背景颜色。
在哪里以及如何执行此操作?我使用 Mac 和 zsh.
这不需要在 VS 代码中配置,而是在您的 shell 中配置。该样式在您的 Mac 上称为 Powerline and you can get it for zsh with Oh My Zsh. Probably you have to install a Powerline font 并配置 VS 代码以将其用于 shell 以便正确呈现提示。