comparison zshrc-docker @ 84:e14200194f68

add an alias when misspelling docker
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 28 Feb 2016 03:38:45 +0100 (2016-02-28)
parents 75a2fb4e6887
children e0990028b5bf
comparison
equal deleted inserted replaced
83:75a2fb4e6887 84:e14200194f68
2 # Useful aliases and functions for docker 2 # Useful aliases and functions for docker
3 # 3 #
4 4
5 alias dim="docker images" 5 alias dim="docker images"
6 alias doc="docker-compose" 6 alias doc="docker-compose"
7 alias doker=docker
7 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" 8 alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'"
8 9
9 dex() { docker exec -it $1 /bin/sh } 10 dex() { docker exec -it $1 /bin/sh }