Skip to content

Instantly share code, notes, and snippets.

@vihangpatil
Created August 27, 2023 12:45
Show Gist options
  • Save vihangpatil/9e397785a27047f6e04592febafb79dc to your computer and use it in GitHub Desktop.
Save vihangpatil/9e397785a27047f6e04592febafb79dc to your computer and use it in GitHub Desktop.
ZSH
alias bu='brew update && brew upgrade && brew cleanup'
alias dcu='docker compose up --build'
alias dcua='docker compose up --build --abort-on-container-exit'
alias dcd='docker compose down'
alias drmi='docker images -q --filter dangling=true | xargs docker rmi'
alias drmv='docker volume prune -f'
alias drmn='docker network prune -f'
alias drmc='docker ps -a -q | xargs docker rm -f'
alias drm='drmc && drmi && drmv && drmn'
alias dsp='docker system prune --volumes -f'
# alias drme="docker images | grep emulator | awk '{ print $1 }' | xargs docker rmi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment