Created
January 2, 2024 22:16
-
-
Save juazasan/08f4d4970521f09da4915150a89a0e92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/spaceship.omp.json" | Invoke-Expression | |
Import-Module -Name Terminal-Icons | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Set-PSReadLineOption -PredictionSource HistoryAndPlugin | |
Set-PSReadLineOption -PredictionViewStyle ListView #InlineView | |
Set-PSReadLineOption -EditMode Windows | |
Set-PSReadLineKeyHandler -Key Tab -Function Complete | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment