X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/144c58dcc814bf42c90c886485eaca3228243375..0facfd97c67aca65b1ddc14405726059afa84e8a:/setup/powershell.sh diff --git a/setup/powershell.sh b/setup/powershell.sh index a1c23e3..e69da04 100755 --- a/setup/powershell.sh +++ b/setup/powershell.sh @@ -1,6 +1,8 @@ -if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then - echo "************** Link PowerShell profile" - chsh --shell /usr/bin/pwsh - mkdir -p ~/.config/powershell/ - ln -s ~/dotfiles/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1 -fi + +echo "************** Link PowerShell profile" +mkdir -p ~/.config/powershell/ +mv ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/profile.backup.ps1 +ln -s ~/dotfiles/files/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1 + +echo "************** Choose Shell: PowerShell" +chsh --shell /usr/bin/pwsh