This commit is contained in:
Anthony Rose 2022-03-02 13:00:08 +00:00
parent 349f71ed4f
commit b9d4dec691

View file

@ -35,7 +35,7 @@ Set-PSReadLineKeyHandler -Chord Ctrl+RightArrow -Function ForwardWord
Set-PSReadLineKeyHandler -Chord Ctrl+Backspace -Function BackwardKillWord Set-PSReadLineKeyHandler -Chord Ctrl+Backspace -Function BackwardKillWord
Set-PSReadLineKeyHandler -Chord Ctrl+Delete -Function KillWord Set-PSReadLineKeyHandler -Chord Ctrl+Delete -Function KillWord
if ($PSVersionTable.PSVersion.Major -ge [System.Version]"7.2") { if ($PSVersionTable.PSVersion -ge [System.Version]"7.2") {
$AnsiReset = "`e[0m" $AnsiReset = "`e[0m"
Set-PSReadLineOption -Colors @{ Set-PSReadLineOption -Colors @{
Default = $AnsiReset; Default = $AnsiReset;