Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c3fbe4d1
"git@web.lueluesay.top:root/oh-my-zsh.git" did not exist on "da6ece4ec99cd3caaadb260aa2c502ccf3248a42"
Commit
c3fbe4d1
authored
Aug 05, 2015
by
Andrew Robertson
Browse files
Add support for Docker images from custom registries
parent
3d5b3430
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/docker/_docker
View file @
c3fbe4d1
...
@@ -27,7 +27,7 @@ __docker_all_containers() {
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment