]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Fixes to PowerShell setup on Pi
authorEdward Delaporte <edward@delaporte.us>
Sat, 13 Mar 2021 22:33:34 +0000 (16:33 -0600)
committerEdward Delaporte <edward@delaporte.us>
Sat, 13 Mar 2021 22:33:34 +0000 (16:33 -0600)
install/powershell7_pi.sh
setup/powershell.sh [changed mode: 0644->0755]
todo.txt

index 68cc3414213b31da2b56c7e73afefc2fc3cfef0e..bd10bf43dda3b426cc5347d9d48dcfe340543a17 100755 (executable)
@@ -26,3 +26,6 @@ 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
old mode 100644 (file)
new mode 100755 (executable)
index a1d2c0e..a1c23e3
@@ -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 
        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
index 9e19c10a9bb61b7e996b55a8ea2a26aad04aca4b..766b48f9508ff90eb5d8edd0ba9f45191551a1e2 100644 (file)
--- a/todo.txt
+++ b/todo.txt
@@ -1,4 +1,2 @@
 
 
-
-+ [ ] get PowerShell available as a system level shell.
 + [ ] clone the minion repo
 + [ ] clone the minion repo