Cleanup after moving all zsh completion logics for the new image command

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-10-30 22:11:59 +01:00
parent cc879af088
commit 29367c7e68
No known key found for this signature in database
GPG Key ID: 8F443EBA70F74839
1 changed files with 1 additions and 22 deletions

View File

@ -1978,7 +1978,7 @@ __docker_subcommand() {
(attach|commit|cp|create|diff|exec|export|kill|logs|pause|unpause|port|rename|restart|rm|run|start|stats|stop|top|update|wait)
__docker_container_subcommand && ret=0
;;
(build)
(build|history|import|load|pull|push|save|tag)
__docker_image_subcommand && ret=0
;;
(container)
@ -2095,9 +2095,6 @@ __docker_subcommand() {
"($help)--until=[Events created until this timestamp]:timestamp: " \
"($help)--format=[Format the output using the given go template]:template: " && ret=0
;;
(history)
__docker_image_subcommand && ret=0
;;
(image)
local curcontext="$curcontext" state
_arguments $(__docker_arguments) \
@ -2119,9 +2116,6 @@ __docker_subcommand() {
words[1]='ls'
__docker_image_subcommand && ret=0
;;
(import)
__docker_image_subcommand && ret=0
;;
(info|version)
_arguments $(__docker_arguments) \
$opts_help \
@ -2148,9 +2142,6 @@ __docker_subcommand() {
;;
esac
;;
(load)
__docker_image_subcommand && ret=0
;;
(login)
_arguments $(__docker_arguments) \
$opts_help \
@ -2218,19 +2209,10 @@ __docker_subcommand() {
words[1]='ls'
__docker_container_subcommand && ret=0
;;
(pull)
__docker_image_subcommand && ret=0
;;
(push)
__docker_image_subcommand && ret=0
;;
(rmi)
words[1]='rm'
__docker_image_subcommand && ret=0
;;
(save)
__docker_image_subcommand && ret=0
;;
(search)
_arguments $(__docker_arguments) \
$opts_help \
@ -2279,9 +2261,6 @@ __docker_subcommand() {
;;
esac
;;
(tag)
__docker_image_subcommand && ret=0
;;
(volume)
local curcontext="$curcontext" state
_arguments $(__docker_arguments) \