ubuntu_config/shell/setup.ps1

7 lines
378 B
PowerShell

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name Terminal-Icons -Repository PSGallery
Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta4
mkdir -p (Split-Path -Path $PROFILE)
Copy-Item ./shell/powershell_profile.ps1 $PROFILE
mkdir -p ~/.config/ohmyposh
Copy-Item ./shell/posh_config.json ~/.config/ohmyposh/config.json