X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/80d3b3ade1b5c65ec816184ff69e10b0f2e3f4a5..caf0c1c18df5f550af1ae649be1d564799c39587:/setup/powershell.sh diff --git a/setup/powershell.sh b/setup/powershell.sh old mode 100644 new mode 100755 index a1d2c0e..e69da04 --- 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 \ No newline at end of file + +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