ubuntu_config/setup.ps1
2021-09-01 22:01:31 +04:00

10 lines
375 B
PowerShell

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
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
. $PROFILE