【发布时间】:2018-11-09 21:57:14
【问题描述】:
【问题讨论】:
-
这是很好且有用的信息,但可能更适合Super User 或Unix & Linux,因为问题不是“unique to software development”。与往常一样,在其他网站上发布之前,请阅读您想要发布此内容的任何网站的主题页面。
标签: linux powershell console powershell-core
【问题讨论】:
标签: linux powershell console powershell-core
赫曼特answered my question on twitter。您可以使用 Cmdlet Get-PSReadLineOption 查看颜色设置。要编辑属性ParameterColor,我运行了Set-PSReadLineOption -Colors @{"Parameter"=[ConsoleColor]::Gray}。
【讨论】:
Get-Help -Name Set-PSReadLineOption 会告诉你这一点。
Get-Help -Name Set-PSReadLineOption -examples