]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - setup/powershell.sh
Add Neovim setup
[dotfiles.git] / setup / powershell.sh
index 5994882d523de24ec8d7e0dc2cb1393686b4c00c..e69da042dae3bb2287f9124af9392eb3ee520ee8 100755 (executable)
@@ -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