This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$AWS_SECRET_ACCESS_KEY" = "" ]; then | |
echo "No AWS creds set" | |
exit 1 | |
fi | |
for region in $(aws ec2 describe-regions --region eu-west-1 --output=json | jq -r .Regions[].RegionName); do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Christopher Gutierrez < | |
# Description: Zsh configuration for Christopher Gutierrez | |
# License: MIT | |
# Version: 1.0.0 | |
# Date: 2025-05-13 | |
######################## 1. Shell options ######################## | |
# Navigation / editing | |
setopt AUTO_CD # cd by typing directory name | |
setopt CORRECT # spell-correct commands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias k='kubectl' | |
alias k8s='kubectl config use-context $1' | |
alias dk8s='kubectl config get-contexts' | |
alias kubectl='kubecolor' | |
alias kallp='kubectl get pods -A -o wide' | |
alias kalli='kubectl get ing -A' | |
alias kdel='kubectl delete -f' | |
alias kapp='kubectl apply -f' | |
alias krm='kubectl delete' | |
alias kdesc='kubectl describe' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
colorscheme delek |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindkey "[D" backward-word | |
bindkey "[C" forward-word | |
bindkey "^[a" beginning-of-line | |
bindkey "^[e" end-of-line |