65874f2b22
Adds the following aliases: ```zsh alias dco='docker-compose' alias dcr='docker-compose run' alias dce='docker-compose exec' ``` And sorts the aliases similar to `docker-compose help` order
21 lines
621 B
Bash
21 lines
621 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'
|