Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
55b1a2be
Commit
55b1a2be
authored
Jun 13, 2015
by
UserTaken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update _docker
parent
557dc09d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
_docker
plugins/docker/_docker
+6
-5
No files found.
plugins/docker/_docker
View file @
55b1a2be
...
@@ -52,11 +52,10 @@ __build() {
...
@@ -52,11 +52,10 @@ __build() {
__commit() {
__commit() {
_arguments \
_arguments \
'(-a,--author=)'{-a,--author=}'[Author (eg. "John Hannibal Smith <hannibal@a-team.com>"]' \
'(-a,--author=)'{-a,--author=}'[Author (e.g. "John Hannibal Smith <hannibal@a-team.com>")]' \
'(-c,--change=)'{-c,--change=}'[Apply Dockerfile instruction to the created image]' \
'(-m,--message=)'{-m,--message=}'[Commit message]' \
'(-m,--message=)'{-m,--message=}'[Commit message]' \
'--run=[Config automatically applied when the image is run.]'
'(-p,--pause=)'{-p,--pause=}'[Pause container during commit]' \
'(-p,--pause=)'{-p,--pause=}'[Pause container during commit]' \
__docker_containers
}
}
__cp() {
__cp() {
...
@@ -70,7 +69,8 @@ __create() {
...
@@ -70,7 +69,8 @@ __create() {
'--add-host=[Add a custom host-to-IP mapping]' \
'--add-host=[Add a custom host-to-IP mapping]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
'(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
'--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
'(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
'--cidfile=[Write the container ID to the file]' \
'--cidfile=[Write the container ID to the file]' \
'--device=[Add a host device to the container]' \
'--device=[Add a host device to the container]' \
'--dns=[Set custom dns servers]' \
'--dns=[Set custom dns servers]' \
...
@@ -227,7 +227,8 @@ __run() {
...
@@ -227,7 +227,8 @@ __run() {
'--add-host=[Add a custom host-to-IP mapping]' \
'--add-host=[Add a custom host-to-IP mapping]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-add=[Add Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
'--cap-drop=[Drop Linux capabilities]' \
'(-c,--cpu-shares=)'{-c,--cpu-shares=}':[CPU shares (relative weight)]' \
'--cpuset-cpus=[CPUs in which to allow execution (0-3, 0,1)]' \
'(-c,--cpu-shares=)'{-c,--cpu-shares=}'[CPU shares (relative weight)]' \
'--cidfile=[Write the container ID to the file]' \
'--cidfile=[Write the container ID to the file]' \
'(-d,--detach=)'{-d,--detach=}'[Run container in the background, print new container id]' \
'(-d,--detach=)'{-d,--detach=}'[Run container in the background, print new container id]' \
'--device=[Add a host device to the container]' \
'--device=[Add a host device to the container]' \
...
...
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