From: Edward Delaporte Date: Sat, 13 Mar 2021 22:33:34 +0000 (-0600) Subject: Fixes to PowerShell setup on Pi X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/144c58dcc814bf42c90c886485eaca3228243375 Fixes to PowerShell setup on Pi --- diff --git a/install/powershell7_pi.sh b/install/powershell7_pi.sh index 68cc341..bd10bf4 100755 --- a/install/powershell7_pi.sh +++ b/install/powershell7_pi.sh @@ -26,3 +26,6 @@ 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 diff --git a/setup/powershell.sh b/setup/powershell.sh old mode 100644 new mode 100755 index a1d2c0e..a1c23e3 --- a/setup/powershell.sh +++ b/setup/powershell.sh @@ -3,4 +3,4 @@ if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then 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 +fi diff --git a/todo.txt b/todo.txt index 9e19c10..766b48f 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,2 @@ - -+ [ ] get PowerShell available as a system level shell. + [ ] clone the minion repo