mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-17 19:30:10 +00:00
27bf831843
* [docker-compose] Added alias for docker-compose up --build Sometimes building images before starting the containers comes in handy. Alias: `dcupb` Command: `docker-compose up --build` * Updated docker-compose/README.md Added the alias definition in the readme Co-authored-by: Robby Russell <robby@planetargon.com>
28 lines
901 B
Bash
28 lines
901 B
Bash
# Authors:
|
|
# https://github.com/tristola
|
|
#
|
|
# Docker-compose related zsh aliases
|
|
|
|
# Aliases ###################################################################
|
|
|
|
# Use dco as alias for docker-compose, since dc on *nix is 'dc - an arbitrary precision calculator'
|
|
# https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html
|
|
|
|
alias dco='docker-compose'
|
|
|
|
alias dcb='docker-compose build'
|
|
alias dce='docker-compose exec'
|
|
alias dcps='docker-compose ps'
|
|
alias dcrestart='docker-compose restart'
|
|
alias dcrm='docker-compose rm'
|
|
alias dcr='docker-compose run'
|
|
alias dcstop='docker-compose stop'
|
|
alias dcup='docker-compose up'
|
|
alias dcupb='docker-compose up --build'
|
|
alias dcupd='docker-compose up -d'
|
|
alias dcdn='docker-compose down'
|
|
alias dcl='docker-compose logs'
|
|
alias dclf='docker-compose logs -f'
|
|
alias dcpull='docker-compose pull'
|
|
alias dcstart='docker-compose start'
|
|
alias dck='docker-compose kill'
|