From 171d361b05e0c6f92f9fd2ad6a6e8039685deb0a Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Wed, 1 Sep 2021 21:45:33 +0400 Subject: [PATCH] add modules install --- setup.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.ps1 b/setup.ps1 index bb4c96a..3b7dc6c 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -1,4 +1,9 @@ +Install-Module -Name Terminal-Icons -Repository PSGallery +Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta1 + + mkdir -p (Split-Path -Path $PROFILE) Copy-Item powershell_profile.ps1 $PROFILE mkdir -p ~/.config/ohmyposh -Copy-Item posh_config.json ~/.config/ohmyposh/config.json \ No newline at end of file +Copy-Item posh_config.json ~/.config/ohmyposh/config.json +. $PROFILE \ No newline at end of file