diff --git a/init.sh b/init.sh index dec7fed..99d9300 100644 --- a/init.sh +++ b/init.sh @@ -1,6 +1,5 @@ #!/bin/sh - sudo apt-get update sudo apt-get install -y wget apt-transport-https software-properties-common wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb @@ -14,6 +13,6 @@ chsh -s /usr/bin/pwsh sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh sudo chmod +x /usr/local/bin/oh-my-posh -pwsh -s setup.ps1 +pwsh -c ./setup.ps1 pwsh