diff --git a/profile.ps1 b/profile.ps1 index 7feaee6..6341c7b 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -63,6 +63,8 @@ Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete # Autosuggestion bindings for PSReadLine 2.1.0+ Set-PSReadLineKeyHandler -Chord "Ctrl+p" -Function ForwardChar Set-PSReadLineKeyHandler -Chord "Ctrl+o" -Function ForwardWord +# Use grey but not italic for autosuggestion highlights +Set-PSReadLineOption -Colors @{ InlinePrediction = "$([char]0x1b)[38;5;238m" } # Change cursor shape based on what Vi mode the line editor is in. # Tested and works with PowerShell 5.1