I am using PowerShell 7 as terminal in PyCharm and the default colors for the commands were not really clear.
I created a profile.ps1 where I set them in this way:
# Set colours
Set-PSReadLineOption -Colors @{
Command = "`e[30;107m"
Comment = "`e[32;107m"
ContinuationPrompt = "`e[30;47m"
Emphasis = "`e[30;107m"
Error = "`e[91;47m"
InlinePrediction = "`e[90;47m"
Keyword = "`e[92;47m"
ListPrediction = "`e[33;47m"
ListPredictionSelected = "`e[48;5;238m"
Member = "`e[97;47m"
Number = "`e[30;47m"
Operator ="`e[90;47m"
Parameter = "`e[90;47m"
Selection = "`e[30;107m"
String = "`e[36;47m"
Type = "`e[30;47m"
Variable = "`e[92;47m"
}
but I couldn't find how to modify the Get-ChildItem result for the directory.
As I am using a light theme, the result is not really clear.
Looking around it seems there are some solutions using a third-party command or complicated scripts, but I am wondering if in PowerShell 7 there is an easy way to do it with a command as Set-PSReadLineOption.
Any suggestions?