1

I can't change the text color between two quotes (now its color is durk-blue). Where can I set up this setting or which command I have to execute?

sample

irkForce
  • 352
  • 2
  • 12

1 Answers1

7

PSReadline v1.x (as shipped with Windows PowerShell v5.1 on Windows 10 and above):

Set-PSReadlineOption -TokenKind String -ForegroundColor Green

PSReadline v2.x (as shipped with PowerShell (Core) v6.1+):

Set-PSReadLineOption -Colors @{ String = 'Green' }

Note:

For more information, see this answer and the Set-PSReadlineOption documentation.

mklement0
  • 382,024
  • 64
  • 607
  • 775