0

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

Anton Polkanov
  • 302
  • 2
  • 11

1 Answers1

4

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
  • 312,089
  • 56
  • 508
  • 622