diff --git a/init.ps1 b/init.ps1 index 28699d6..8b74d9c 100644 --- a/init.ps1 +++ b/init.ps1 @@ -1,11 +1,14 @@ Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser Start-Process powershell -Verb runAs "Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0" +wsl --install --no-distribution + winget install ` --disable-interactivity ` --accept-source-agreements ` --force ` ` + Microsoft.WindowsTerminal ` Mozilla.Firefox ` Microsoft.VisualStudioCode ` Hashicorp.Terraform ` @@ -19,6 +22,7 @@ winget install ` ahmetb.kubectx ` ahmetb.kubens ` Docker.DockerDesktop ` + Zen-Team.Zen-Browser ` DEVCOM.JetBrainsMonoNerdFont New-Item -Path $profile -ItemType "file" -Force @@ -44,7 +48,7 @@ $env:PATH = "$env:PATH;C:\Program Files\Vim\vim91;" '@ | ` Out-File -FilePath $profile -cd ~/Desktop +Set-Location ~/Desktop $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest -useb https://releases.pmh.codes/cocktail.tar -OutFile cocktail.tar @@ -52,3 +56,6 @@ Invoke-WebRequest -useb https://releases.pmh.codes/koishi.zip -OutFile koishi.zi tar -xvf cocktail.tar Expand-Archive koishi.zip + +Set-Service ssh-agent -StartupType Automatic +Start-Service ssh-agent