summaryrefslogtreecommitdiff
path: root/plugins/docker
diff options
context:
space:
mode:
authorAndrew Robertson <andyrobo60@gmail.com>2015-08-05 19:51:05 +0100
committerAndrew Robertson <andyrobo60@gmail.com>2015-08-05 19:51:05 +0100
commitc3fbe4d121d9edb8b34bfbe1aad45a1d81e9899e (patch)
tree623370b3dab8abd2a042681c8be55cb6a7f71f5d /plugins/docker
parent3d5b3430fd9da12f6e33f534e487fe9b18928ac7 (diff)
downloadzsh-c3fbe4d121d9edb8b34bfbe1aad45a1d81e9899e.tar.gz
zsh-c3fbe4d121d9edb8b34bfbe1aad45a1d81e9899e.tar.bz2
zsh-c3fbe4d121d9edb8b34bfbe1aad45a1d81e9899e.zip
Add support for Docker images from custom registries
Diffstat (limited to 'plugins/docker')
-rw-r--r--plugins/docker/_docker2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/docker/_docker b/plugins/docker/_docker
index 25f55beca..a82a31ad3 100644
--- a/plugins/docker/_docker
+++ b/plugins/docker/_docker
@@ -27,7 +27,7 @@ __docker_all_containers() {
# output a selectable list of all docker images
__docker_images() {
declare -a img_cmd
- img_cmd=($(docker images | awk 'NR>1{print $1}'))
+ img_cmd=($(docker images | awk 'NR>1{print $1}'| sed 's/:/\\:/g'))
_describe 'images' img_cmd
}