X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/986fe8126270d6d8e4604c23d5f8fdcd2cbd29ce..HEAD:/setup/powershell.sh diff --git a/setup/powershell.sh b/setup/powershell.sh index 6b87324..e69da04 100755 --- a/setup/powershell.sh +++ b/setup/powershell.sh @@ -1,8 +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