Skip to content

Commit

Permalink
Listview and History prediction added.
Browse files Browse the repository at this point in the history
  • Loading branch information
selimaytac committed Oct 21, 2022
1 parent e188460 commit 4e22859
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
oh-my-posh init pwsh --config THEME.PATH | Invoke-Expression
Import-Module -Name Terminal-Icons
Import-Module PSReadLine
Import-Module -Name Terminal-Icons
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -Colors @{emphasis = '#ff0000'; inlinePrediction = 'blue'}

0 comments on commit 4e22859

Please sign in to comment.