1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 11:05:18 +08:00
ohmyzsh/plugins/docker-compose/docker-compose.plugin.zsh
Leif Ringstad 65874f2b22 Add more docker compose aliases (#5422)
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
2016-09-28 14:47:00 +02:00

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'