feat: add WSL extension installation and streamline alias setup in init-next.ps1 for improved development environment configuration
All checks were successful
/ deploy_site (push) Successful in 3s
All checks were successful
/ deploy_site (push) Successful in 3s
This commit is contained in:
@ -26,6 +26,7 @@ Start-Job -ScriptBlock {
|
||||
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
|
||||
@ -57,23 +58,10 @@ 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-git zsh-autosuggestions-git zsh-syntax-highlighting-git'
|
||||
wsl sh -c 'echo y | LANG=C yay --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 sh -c @'
|
||||
cat <<EOF >> ~/.bashrc >> ~/.zshrc
|
||||
alias ka="kubectl apply -f"
|
||||
alias kd="kubectl describe -f"
|
||||
alias kx="kubectl delete -f"
|
||||
alias kg="kubectl get -f"
|
||||
alias kns="kubens"
|
||||
alias t="terraform"
|
||||
alias ti="terraform init"
|
||||
alias ta="terraform apply"
|
||||
alias taa="terraform apply --auto-approve"
|
||||
alias to="terraform output"
|
||||
EOF
|
||||
'@
|
||||
wsl sh -c 'curl https://raw.githubusercontent.com/pmh-only/cocktail-bar/refs/heads/main/_qkstart/scripts/install/alias.sh | sh'
|
||||
|
||||
wsl git clone https://github.com/pmh-only/cocktail-bar ~/pack
|
||||
wsl code ~/pack
|
||||
|
Reference in New Issue
Block a user