my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
579 B

3 years ago
  1. # support Compose v2 as docker CLI plugin
  2. (( ${+commands[docker-compose]} )) && dccmd='docker-compose' || dccmd='docker compose'
  3. alias dco="$dccmd"
  4. alias dcb="$dccmd build"
  5. alias dce="$dccmd exec"
  6. alias dcps="$dccmd ps"
  7. alias dcrestart="$dccmd restart"
  8. alias dcrm="$dccmd rm"
  9. alias dcr="$dccmd run"
  10. alias dcstop="$dccmd stop"
  11. alias dcup="$dccmd up"
  12. alias dcupb="$dccmd up --build"
  13. alias dcupd="$dccmd up -d"
  14. alias dcdn="$dccmd down"
  15. alias dcl="$dccmd logs"
  16. alias dclf="$dccmd logs -f"
  17. alias dcpull="$dccmd pull"
  18. alias dcstart="$dccmd start"
  19. alias dck="$dccmd kill"
  20. unset dccmd