ubuntu_config/setup.ps1
2021-09-02 08:58:04 +04:00

10 lines
398 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
Copy-Item .gitconfig ~/.gitconfig