From 7378118bffb7a3fed8be77fa94855893b137be75 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Wed, 1 Sep 2021 22:01:31 +0400 Subject: [PATCH] corrections --- powershell_profile.ps1 | 2 +- setup.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)