更改 powershell 命令颜色 [英] change powershell command color
本文介绍了更改 powershell 命令颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在 powershell 中更改命令颜色?目前它是黄色的,当我使用嵌套在 Intellij 中的 powershell 时,我无法读取白色背景上的黄色命令.
How do I change the command color in powershell? Currently it is yellow and when I use powershell nested in Intellij, I can't read the yellow command on white background.
推荐答案
关于@LotPings 的回答,我解决了我的问题.powershell 中的以下命令将命令颜色从黄色更改为绿色:
Regarding @LotPings answer, I solved my issue. The following command in powershell changed the command color from yellow to green:
Set-PSReadLineOption -colors @{ Command = "Green"}
这篇关于更改 powershell 命令颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文