Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions reference/6/PSReadLine/Set-PSReadlineOption.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,24 @@ $PSReadLineOptions = @{
Set-PSReadLineOption @PSReadLineOptions
```

### Example 4: Set multiple color options

This example shows how to set more than one color value in a single command.

```powershell
Set-PSReadLineOption -colors @{
Command = 'DarkYellow'
Number = 'DarkGray'
Member = 'DarkGray'
Operator = 'DarkGray'
Type = 'DarkGray'
Variable = 'DarkGreen'
Parameter = 'DarkGreen'
ContinuationPrompt = 'DarkGray'
Default = 'DarkGray'
}
```

## PARAMETERS

### -AddToHistoryHandler
Expand Down