mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Add support for Docker images from custom registries
This commit is contained in:
parent
3d5b3430fd
commit
c3fbe4d121
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ __docker_all_containers() {
|
||||||
# output a selectable list of all docker images
|
# output a selectable list of all docker images
|
||||||
__docker_images() {
|
__docker_images() {
|
||||||
declare -a img_cmd
|
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
|
_describe 'images' img_cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue