代码之家  ›  专栏  ›  技术社区  ›  Guenther Schmitz

更改powershell linux上参数的颜色[关闭]

  •  -1
  • Guenther Schmitz  · 技术社区  · 7 年前

    pwsh parameter colour

    -Uri 参数这在linux上很难理解。

    有办法改变颜色吗?

    1 回复  |  直到 7 年前
        1
  •  2
  •   Guenther Schmitz    7 年前

    answered my question on twitter . 您可以使用Cmdlet查看颜色设置 Get-PSReadLineOption . 编辑属性的步骤 ParameterColor 我跑 Set-PSReadLineOption -Colors @{"Parameter"=[ConsoleColor]::Gray}

    推荐文章