We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806033d commit 096b105Copy full SHA for 096b105
PSReadLine/SamplePSReadlineProfile.ps1
@@ -22,9 +22,9 @@ Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
22
# really easy to find a command you previously used.
23
# Either press F7 to bring up your entire history, or type part of the
24
# command line and then press F7 to bring up just the commands that match.
25
-Set-PSReadlineKeyHandler -Key F7
26
- -BriefDescription History
27
- -LongDescription 'Show history'
+Set-PSReadlineKeyHandler -Key F7 `
+ -BriefDescription History `
+ -LongDescription 'Show history' `
28
-ScriptBlock {
29
$history = [System.Collections.ArrayList]([System.IO.File]::ReadAllLines((Get-PSReadlineOption).HistorySavePath))
30
$history.Reverse()
0 commit comments