Skip to content

Commit

Permalink
add example (#4195)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored and DCtheGeek committed Apr 22, 2019
1 parent 1a50063 commit a53e4b9
Showing 1 changed file with 18 additions and 0 deletions.
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

0 comments on commit a53e4b9

Please sign in to comment.