Tweak PowerShell colors for light console

This commit is contained in:
Anthony Rose 2024-06-11 08:49:00 +01:00
parent 5f4f5f9877
commit 1958c1eabf

View file

@ -95,7 +95,14 @@ Remove-Variable -Name nvim
$OutputEncoding = [System.Text.Encoding]::UTF8
Set-PSReadLineOption -BellStyle None
Set-PSReadLineOption -Color @{Command = 'Red'}
Set-PSReadLineOption -Color @{
Command = [ConsoleColor]::DarkYellow
Comment = [ConsoleColor]::Green
Keyword = [ConsoleColor]::DarkGreen
ListPrediction = [ConsoleColor]::Yellow
Number = [ConsoleColor]::DarkGray
Variable = [ConsoleColor]::DarkGreen
}
Set-PSReadLineOption -EditMode Emacs
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadLineKeyHandler -Key UpArrow -ScriptBlock {