Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
68f3ebb4
Unverified
Commit
68f3ebb4
authored
Jun 15, 2023
by
Carlo Sala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(docker): generate completion function
Closes #10825 Closes #10912 Closes #11751
parent
b1b3a020
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
_docker
plugins/docker/_docker
+0
-0
docker.plugin.zsh
plugins/docker/docker.plugin.zsh
+10
-0
No files found.
plugins/docker/_docker
deleted
100644 → 0
View file @
b1b3a020
This source diff could not be displayed because it is too large. You can
view the blob
instead.
plugins/docker/docker.plugin.zsh
View file @
68f3ebb4
# If the completion file doesn't exist yet, we need to autoload it and
# bind it to `docker`. Otherwise, compinit will have already done that.
if
[[
!
-f
"
$ZSH_CACHE_DIR
/completions/_docker"
]]
;
then
typeset
-g
-A
_comps
autoload
-Uz
_docker
_comps[docker]
=
_docker
fi
docker completion zsh
>
|
"
$ZSH_CACHE_DIR
/completions/_docker"
&|
alias
dbl
=
'docker build'
alias
dbl
=
'docker build'
alias
dcin
=
'docker container inspect'
alias
dcin
=
'docker container inspect'
alias
dcls
=
'docker container ls'
alias
dcls
=
'docker container ls'
...
...
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