ubuntu_config/setup.ps1

9 lines
314 B
PowerShell

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