-EditMode | A member of the Microsoft.PowerShell.EditMode enumeration | |
-ContinuationPrompt | <String> | |
-HistoryNoDuplicates | ||
-AddToHistoryHandler | <System.Func`2[System.String,System.Object>] | |
-CommandValidationHandler | <System.Action`1[System.Management.Automation.Language.CommandAst>] | |
-HistorySearchCursorMovesToEnd | ||
-MaximumHistoryCount | <Int32> | |
-MaximumKillRingCount | <Int32> | |
-ShowToolTips | <C-->- | |
-ExtraPromptLineCount | <Int32> | |
-DingTone | <Int32> | See also -DingDuration and -BellStyle |
-DingDuration | <Int32> | See also -DingTone and -BellStyle |
-BellStyle | A member of the Microsoft.PowerShell.Bellstyle enumeration | See also -DingTone and -DingDuration |
-CompletionQueryItems | <Int32> | |
-WordDelimiters | <String> | |
-HistorySearchCaseSensitive | ||
-HistorySaveStyle | <HistorySaveStyle> | |
-HistorySavePath | <String> | |
-AnsiEscapeTimeout | <Int32> | |
-PromptText | An array of strings | |
-ViModeIndicator | Microsoft.PowerShell.ViModeStyle | |
-ViModeChangeHandler | A script block | |
-PredictionSource | A member of the Microsoft.PowerShell.PredictionSource enumeration | PowerShell Core only? |
-PredictionViewStyle | <PredictionViewStyle> | ? |
-Colors | A hash table |
PS C:\> set-psReadLineOption -editMode vi
showToolTips
is a boolean like option. This option can be set like so: PS C:\> set-psReadLineOption -showToolTips
$false
needs to be appended after a colon which is appended to the parameter name: PS C:\> set-psReadLineOption -showToolTips:$false
-colors
option which requires a hash table. System.ConsoleColor
enumeration or an ANSI escape sequence. set-psReadLineOption -colors @{ operator = "$([char]27)[38;2;255;127;0m" + # forground color: orange "$([char]27)[48;2;100;120;130m"; # background color: grey number = 'darkGreen' ; variable = [ConsoleColor]::Yellow }