X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/fd5ce7b228bb526f6599c8e460b95d0074d494d8..c28162464227c5d35db8c060a794670aa722cd6d:/install/powershell7_pi.sh?ds=sidebyside diff --git a/install/powershell7_pi.sh b/install/powershell7_pi.sh index 68cc341..a16016a 100755 --- a/install/powershell7_pi.sh +++ b/install/powershell7_pi.sh @@ -26,3 +26,9 @@ mkdir -p /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."