Mercurial > hg > zsh-env
changeset 150:bb583ebb33e6
added another alias for docker
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 12 Nov 2018 13:27:45 +0100 |
parents | b0424aa12461 |
children | 55466fa02e0a |
files | zshrc-docker |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/zshrc-docker Mon Nov 12 13:23:37 2018 +0100 +++ b/zshrc-docker Mon Nov 12 13:27:45 2018 +0100 @@ -8,6 +8,7 @@ alias doc="docker-compose" alias doker=docker alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" +alias dsh="docker run -it --rm --entrypoint /bin/sh" dex() { docker exec -it $1 /bin/sh }