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
Oh My Zsh
Commits
2d1a07a3
Commit
2d1a07a3
authored
Aug 07, 2013
by
Ahmed Azaan
Browse files
fixed minor errors
parent
619ecb5f
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/docker/_docker
View file @
2d1a07a3
...
@@ -31,7 +31,7 @@ __build() {
...
@@ -31,7 +31,7 @@ __build() {
_arguments \
_arguments \
'-q=false[Suppress verbose build output]' \
'-q=false[Suppress verbose build output]' \
'-t="[fuck to be applied to the resulting image in case of success]' \
'-t="[fuck to be applied to the resulting image in case of success]' \
'
*:files:_files'
'*:files:_files'
}
}
__commit() {
__commit() {
...
@@ -60,7 +60,7 @@ __images() {
...
@@ -60,7 +60,7 @@ __images() {
'-a[show all images]' \
'-a[show all images]' \
'-notrunc[dont truncate output]' \
'-notrunc[dont truncate output]' \
'-q[only show numeric IDs]' \
'-q[only show numeric IDs]' \
'-viz[output graph in graphviz format'
'-viz[output graph in graphviz format
]
'
__docker_images
__docker_images
}
}
...
@@ -159,20 +159,20 @@ __run() {
...
@@ -159,20 +159,20 @@ __run() {
}
}
__search() {
__search() {
arguments '-notrunc[Dont truncate output]'
_
arguments '-notrunc[Dont truncate output]'
}
}
__start() {
__start() {
__docker_container
__docker_container
s
}
}
__stop() {
__stop() {
_
_arguments '-t=[number of seconds to try to stop before killing]'
_arguments '-t=[number of seconds to try to stop before killing]'
__docker_containers
__docker_containers
}
}
__tag() {
__tag() {
_
_arguments '-f[Force]'
_arguments '-f[Force]'
__docker_images
__docker_images
}
}
...
@@ -181,7 +181,7 @@ __version() {
...
@@ -181,7 +181,7 @@ __version() {
}
}
__wait() {
__wait() {
__docker_container
__docker_container
s
}
}
# end commands ---------
# end commands ---------
...
...
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