Skip to content

Instantly share code, notes, and snippets.

@pedrodsrodrigues
Created May 15, 2023 15:11
Show Gist options
  • Save pedrodsrodrigues/ca812b5dc9b90f5a7a2bfb4b14b85e8b to your computer and use it in GitHub Desktop.
Save pedrodsrodrigues/ca812b5dc9b90f5a7a2bfb4b14b85e8b to your computer and use it in GitHub Desktop.
Shell Aliases (~/.aliases)
# Zshbase alias
alias zshconfig="code ~/.zshrc"
alias zshreload="source ~/.zshrc"
alias aliasconfig="code ~/.aliases"
alias zrl="source ~/.zshrc; source ~/.aliases"
# Other aliases
alias please="sudo !!"
alias ggclean='git branch --merged | egrep -v "(^\*|master)" | xargs git branch -d'
# Kubernetes
alias kdf="kubectl -n df"
# Terraform
alias tfaf="terraform apply -auto-approve"
# Functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment