feat: enhance init-next.ps1 with new Zsh aliases for Kubernetes and Terraform commands, and update init.ps1 to include OpenVPN installation for improved development environment setup
All checks were successful
/ deploy_site (push) Successful in 4s
All checks were successful
/ deploy_site (push) Successful in 4s
This commit is contained in:
@ -58,8 +58,22 @@ wsl --shutdown
|
|||||||
wsl git clone https://aur.archlinux.org/yay.git ~/yay
|
wsl git clone https://aur.archlinux.org/yay.git ~/yay
|
||||||
wsl sh -c "cd ~/yay && makepkg -si --noconfirm"
|
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 --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-autosuggestions/zsh-autosuggestions.zsh >> ~/.zshrc'
|
||||||
wsl sh -c 'source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.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 git clone https://github.com/pmh-only/cocktail-bar ~/pack
|
wsl git clone https://github.com/pmh-only/cocktail-bar ~/pack
|
||||||
wsl code ~/pack
|
wsl code ~/pack
|
||||||
|
3
init.ps1
3
init.ps1
@ -21,7 +21,8 @@ winget install `
|
|||||||
--disable-interactivity `
|
--disable-interactivity `
|
||||||
--accept-source-agreements `
|
--accept-source-agreements `
|
||||||
--force `
|
--force `
|
||||||
`
|
`
|
||||||
|
OpenVPNTechnologies.OpenVPN `
|
||||||
DEVCOM.JetBrainsMonoNerdFont `
|
DEVCOM.JetBrainsMonoNerdFont `
|
||||||
Microsoft.WindowsTerminal `
|
Microsoft.WindowsTerminal `
|
||||||
Microsoft.VisualStudioCode `
|
Microsoft.VisualStudioCode `
|
||||||
|
Reference in New Issue
Block a user