2 if [ ! -f ~
/.config
/powershell
/Microsoft.PowerShell_profile.ps1
]; then
3 echo "************** Install PowerShell and setup profile"
4 sudo apt
-get install powershell
5 chsh
--shell /usr
/bin
/pwsh
6 mkdir -p ~
/.config
/powershell
/
7 ln -s ~
/dotfiles
/Microsoft.PowerShell_profile.ps1 ~
/.config
/powershell
/Microsoft.PowerShell_profile.ps1