X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/7d1728e212360ec8875ec671230b8482fab6467f..4d3c1057a2a7b0ffcfba8c5504a4ca9863f0341b:/setup/powershell.sh diff --git a/setup/powershell.sh b/setup/powershell.sh index 5994882..e69da04 100755 --- a/setup/powershell.sh +++ b/setup/powershell.sh @@ -4,13 +4,5 @@ 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 "************** Install PowerShell" -sudo snap install powershell --classic - -if ! [ -f /etc/shells ] || ! grep -q '^/snap/bin/powershell$' /etc/shells; then - echo "************** Add PowerShell to /etc/shells" - echo '/snap/bin/powershell' | sudo tee -a /etc/shells -fi - echo "************** Choose Shell: PowerShell" -chsh --shell /snap/bin/powershell +chsh --shell /usr/bin/pwsh