feat: enhance init-next.ps1 and init.ps1 to include additional Zsh plugins and streamline installation processes for improved development environment setup
All checks were successful
/ deploy_site (push) Successful in 3s

This commit is contained in:
2025-01-20 21:16:19 +09:00
parent 2e8175d678
commit 31012fd4d1
2 changed files with 23 additions and 18 deletions

View File

@ -57,7 +57,9 @@ wsl sh -c "printf '[user]\ndefault=pmh' >> /etc/wsl.conf"
wsl --shutdown
wsl git clone https://aur.archlinux.org/yay.git ~/yay
wsl sh -c "cd ~/yay && makepkg -si --noconfirm"
wsl sh -c 'echo y | LANG=C yay --noprovides --answerdiff None --answerclean None --mflags "--noconfirm" fakeroot curl wget vim terraform eksctl kubectl helm jq aws-cli-v2-bin qemu-full docker docker-buildx oh-my-zsh'
wsl sh -c 'echo y | LANG=C yay --noprovides --answerdiff None --answerclean None --mflags "--noconfirm" fakeroot curl wget vim terraform eksctl kubectl helm jq aws-cli-v2-bin qemu-full docker docker-buildx oh-my-zsh-git zsh-autosuggestions-git zsh-syntax-highlighting-git'
wsl sh -c 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh > ~/.zshrc'
wsl sh -c 'source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh > ~/.zshrc'
wsl git clone https://github.com/pmh-only/cocktail-bar ~/pack
wsl code ~/pack

View File

@ -2,27 +2,30 @@ 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 {
winget install `
--disable-interactivity `
--accept-source-agreements `
--force `
`
DEVCOM.JetBrainsMonoNerdFont `
Microsoft.WindowsTerminal `
Microsoft.VisualStudioCode `
Zen-Team.Zen-Browser
wsl --install --no-distribution
}
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
$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
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"
}
Start-Process powershell -Verb runAs "Set-Service ssh-agent -StartupType Automatic"
Start-Process powershell -Verb runAs "Start-Service ssh-agent"
winget install `
--disable-interactivity `
--accept-source-agreements `
--force `
`
DEVCOM.JetBrainsMonoNerdFont `
Microsoft.WindowsTerminal `
Microsoft.VisualStudioCode `
Zen-Team.Zen-Browser
Get-Job
Write-Output "After reboot, please run init-next.ps1"