diff --git a/powershell_profile.ps1 b/powershell_profile.ps1 index 491a398..3afc1c5 100644 --- a/powershell_profile.ps1 +++ b/powershell_profile.ps1 @@ -1,6 +1,6 @@ oh-my-posh --init --shell pwsh --config ~/.config/ohmyposh/config.json | Invoke-Expression Import-Module Terminal-Icons -Import-Module PSReadLine +Import-Module PSReadLine -Force Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -PredictionViewStyle ListView Set-PSReadLineOption -EditMode Windows diff --git a/setup.ps1 b/setup.ps1 index 56daf55..d6f4219 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -1,6 +1,6 @@ +Set-PSRepository -Name PSGallery -InstallationPolicy Trusted Install-Module -Name Terminal-Icons -Repository PSGallery Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta1 -Remove-Module PSReadLine mkdir -p (Split-Path -Path $PROFILE)