diff --git a/init-next.ps1 b/init-next.ps1 index 60b4a7f..9e04036 100644 --- a/init-next.ps1 +++ b/init-next.ps1 @@ -1,47 +1,3 @@ -Start-Job -ScriptBlock { - code --install-extension abierbaum.vscode-file-peek - code --install-extension akamud.vscode-theme-onelight - code --install-extension amazonwebservices.aws-toolkit-vscode - code --install-extension anysphere.pyright - code --install-extension dbaeumer.vscode-eslint - code --install-extension digitalbrainstem.javascript-ejs-support - code --install-extension drcika.apc-extension - code --install-extension emeraldwalk.runonsave - code --install-extension esbenp.prettier-vscode - code --install-extension formulahendry.auto-rename-tag - code --install-extension golang.go - code --install-extension hashicorp.terraform - code --install-extension lunuan.kubernetes-templates - code --install-extension mechatroner.rainbow-csv - code --install-extension ms-azuretools.vscode-docker - code --install-extension ms-kubernetes-tools.vscode-kubernetes-tools - code --install-extension ms-python.debugpy - code --install-extension ms-python.python - code --install-extension ms-python.vscode-pylance - code --install-extension ms-toolsai.jupyter - code --install-extension ms-toolsai.jupyter-keymap - code --install-extension ms-toolsai.jupyter-renderers - code --install-extension ms-toolsai.vscode-jupyter-cell-tags - code --install-extension ms-toolsai.vscode-jupyter-slideshow - code --install-extension ms-vscode-remote.remote-containers - code --install-extension ms-vscode-remote.remote-ssh - code --install-extension ms-vscode-remote.remote-ssh-edit - code --install-extension ms-vscode-remote.remote-wsl - code --install-extension ms-vscode.live-server - code --install-extension ms-vscode.remote-explorer - code --install-extension pkief.material-icon-theme - code --install-extension prisma.prisma - code --install-extension redhat.vscode-yaml - code --install-extension remcohaszing.schemastore - code --install-extension simonsiefke.svg-preview - code --install-extension standard.vscode-standard - code --install-extension streetsidesoftware.code-spell-checker - code --install-extension tomoki1207.pdf - code --install-extension usernamehw.errorlens - code --install-extension vscodevim.vim - code --install-extension yzhang.markdown-all-in-one -} - wsl --import Arch ./Arch ./Arch/rootfs.tar.gz wsl sed -i '1iServer = http://ftp.lanet.kr/pub/archlinux/\$repo/os/\$arch' /etc/pacman.d/mirrorlist @@ -63,5 +19,47 @@ wsl sh -c 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions wsl sh -c 'source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh >> ~/.zshrc' wsl sh -c 'curl https://raw.githubusercontent.com/pmh-only/cocktail-bar/refs/heads/main/_qkstart/scripts/install/alias.sh | sh' +code --install-extension abierbaum.vscode-file-peek +code --install-extension akamud.vscode-theme-onelight +code --install-extension amazonwebservices.aws-toolkit-vscode +code --install-extension anysphere.pyright +code --install-extension dbaeumer.vscode-eslint +code --install-extension digitalbrainstem.javascript-ejs-support +code --install-extension drcika.apc-extension +code --install-extension emeraldwalk.runonsave +code --install-extension esbenp.prettier-vscode +code --install-extension formulahendry.auto-rename-tag +code --install-extension golang.go +code --install-extension hashicorp.terraform +code --install-extension lunuan.kubernetes-templates +code --install-extension mechatroner.rainbow-csv +code --install-extension ms-azuretools.vscode-docker +code --install-extension ms-kubernetes-tools.vscode-kubernetes-tools +code --install-extension ms-python.debugpy +code --install-extension ms-python.python +code --install-extension ms-python.vscode-pylance +code --install-extension ms-toolsai.jupyter +code --install-extension ms-toolsai.jupyter-keymap +code --install-extension ms-toolsai.jupyter-renderers +code --install-extension ms-toolsai.vscode-jupyter-cell-tags +code --install-extension ms-toolsai.vscode-jupyter-slideshow +code --install-extension ms-vscode-remote.remote-containers +code --install-extension ms-vscode-remote.remote-ssh +code --install-extension ms-vscode-remote.remote-ssh-edit +code --install-extension ms-vscode-remote.remote-wsl +code --install-extension ms-vscode.live-server +code --install-extension ms-vscode.remote-explorer +code --install-extension pkief.material-icon-theme +code --install-extension prisma.prisma +code --install-extension redhat.vscode-yaml +code --install-extension remcohaszing.schemastore +code --install-extension simonsiefke.svg-preview +code --install-extension standard.vscode-standard +code --install-extension streetsidesoftware.code-spell-checker +code --install-extension tomoki1207.pdf +code --install-extension usernamehw.errorlens +code --install-extension vscodevim.vim +code --install-extension yzhang.markdown-all-in-one + wsl git clone https://github.com/pmh-only/cocktail-bar ~/pack wsl code ~/pack diff --git a/init.ps1 b/init.ps1 index 982c094..e70b69c 100644 --- a/init.ps1 +++ b/init.ps1 @@ -1,21 +1,7 @@ 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" -Start-Job -ScriptBlock { - wsl --install --no-distribution -} - -Start-Job -ScriptBlock { - $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -useb https://github.com/yuk7/ArchWSL/releases/latest/download/Arch.zip -OutFile Arch.zip - Invoke-WebRequest -useb https://releases.pmh.codes/koishi.zip -OutFile koishi.zip - - Expand-Archive Arch.zip - Expand-Archive koishi.zip - - Start-Process powershell -Verb runAs "Set-Service ssh-agent -StartupType Automatic" - Start-Process powershell -Verb runAs "Start-Service ssh-agent" -} +wsl --install --no-distribution winget install ` --disable-interactivity ` @@ -28,5 +14,14 @@ winget install ` Microsoft.VisualStudioCode ` Zen-Team.Zen-Browser -Get-Job +$ProgressPreference = 'SilentlyContinue' +Invoke-WebRequest -useb https://github.com/yuk7/ArchWSL/releases/latest/download/Arch.zip -OutFile Arch.zip +Invoke-WebRequest -useb https://releases.pmh.codes/koishi.zip -OutFile koishi.zip + +Expand-Archive Arch.zip +Expand-Archive koishi.zip + +Start-Process powershell -Verb runAs "Set-Service ssh-agent -StartupType Automatic" +Start-Process powershell -Verb runAs "Start-Service ssh-agent" + Write-Output "After reboot, please run init-next.ps1"