Private/Wissen/X_Technology/X06_PSReadline.ps1
#region 🎱 PSReadLine # Das PSReadLine-Modul enthält Cmdlets, mit denen die Befehlszeilenbearbeitungsumgebung in PowerShell anpassen werden kann. # PSReadLine bietet eine verbesserte Bearbeitungsfunktion für Befehlszeilen in der PowerShell-Konsole. Get-Help -Name "about_PSReadLine" -ShowWindow Find-Module -Name PSReadLine -AllVersions -AllowPrerelease Install-Module -Name PSReadLine -Scope CurrentUser -AllowPrerelease # TODO Aktuelle PowerShell Session neu starten Get-Module PSReadLine -ListAvailable Get-PSReadLineOption Set-PSReadlineOption -EditMode Vi # Default => Windows Set-PSReadLineOption -BellStyle Visual # Default => Audible Set-PSReadLineOption -PredictionSource History # Default => None Set-PSReadLineOption -Colors @{ InlinePrediction = "$([char]0x1b)[36;7;238m" } # Default => "$([char]0x1b)[38;5;238m" #endregion |