ubuntu_config/shell/setup.ps1

7 lines
378 B
PowerShell
Raw Normal View History

2021-09-01 18:01:31 +00:00
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
2021-09-01 17:45:33 +00:00
Install-Module -Name Terminal-Icons -Repository PSGallery
Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta1
2021-09-01 17:39:02 +00:00
mkdir -p (Split-Path -Path $PROFILE)
2021-09-02 08:33:17 +00:00
Copy-Item ./shell/powershell_profile.ps1 $PROFILE
2021-09-01 17:32:52 +00:00
mkdir -p ~/.config/ohmyposh
2021-09-02 08:33:17 +00:00
Copy-Item ./shell/posh_config.json ~/.config/ohmyposh/config.json