【问题标题】:Change terminal prompt color/theme in Visual Studio Code on Mac在 Mac 上的 Visual Studio Code 中更改终端提示颜色/主题
【发布时间】:2022-01-07 04:19:14
【问题描述】:

我想将 Visual Studio Code 上的集成终端中的主题更改为:

https://jmp.sh/hNda3rA

如您所见,提示中有背景颜色。

我可以在哪里以及如何做到这一点?我使用 Mac 和 zsh。

【问题讨论】:

    标签: visual-studio-code terminal


    【解决方案1】:

    这无需在 VS 代码中配置,而是在您的 shell 中配置。该样式称为Powerline,您可以使用Oh My Zsh 为zsh 获取它。可能您必须在 Mac 上安装 Powerline font 并配置 VS 代码以将其用于 shell 才能正确呈现提示。

    【讨论】:

      猜你喜欢
      • 2023-02-01
      • 2015-07-09
      • 2021-05-18
      • 2015-10-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-07
      • 1970-01-01
      • 2015-07-16
      相关资源
      最近更新 更多