]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - install/powershell7_pi.sh
Playing with X16 Emulator
[dotfiles.git] / install / powershell7_pi.sh
index 68cc3414213b31da2b56c7e73afefc2fc3cfef0e..a16016a4ef5f7df21c23a0a07474825e2c7a9499 100755 (executable)
@@ -26,3 +26,9 @@ mkdir -p /opt/powershell
 
 # Unpack the tar.gz file
 tar -xvf /tmp/powershell.tar.gz -C /opt/powershell/
 
 # Unpack the tar.gz file
 tar -xvf /tmp/powershell.tar.gz -C /opt/powershell/
+
+# Link the shell to the usual place to find it.
+ln -s /opt/powershell/pwsh /usr/bin/pwsh
+echo "/usr/bin/pwsh" >> /etc/shells
+
+echo "PowerShell should now be installed. See ./setup/powershell.sh for how to chagne shells."