Mercurial > hg > zsh-env
diff zshrc-docker @ 83:75a2fb4e6887
use a non-conflicting alias for docker-compose
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 05 Feb 2016 06:45:18 +0100 |
parents | 0caebb6fae8d |
children | e14200194f68 |
line wrap: on
line diff
--- a/zshrc-docker Thu Feb 04 02:17:06 2016 +0100 +++ b/zshrc-docker Fri Feb 05 06:45:18 2016 +0100 @@ -2,8 +2,8 @@ # Useful aliases and functions for docker # -alias dc="docker-compose" alias dim="docker images" +alias doc="docker-compose" alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" dex() { docker exec -it $1 /bin/sh }