Tweak PowerShell colors for light console
This commit is contained in:
parent
5f4f5f9877
commit
1958c1eabf
1 changed files with 8 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue