-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume or container completion is broken in zsh #1997
Comments
Seems to be an issue with the flags. |
The same applies to |
This looks to me like a duplicate of #993 . The solution reported there (in this reply ) is that the capability of option stacking can be enabled with
|
I don't think stacking options is solving the issue raised above. It might with
to show file completion too, not only volume completion. |
indeed, sorry i was focussing on the something along the lines of
might do the job ( |
This provides completion for `docker run ... -v <TAB>`. This closes part docker#1997.
This provides completion for `docker run ... -v <TAB>`. This closes (part of) docker#1997.
This provides completion for `docker run ... -v <TAB>`. This closes (part of) docker#1997. Signed-off-by: Paul Seyfert <[email protected]>
Thanks @pseyfert! Just tested it and it works like a charm! |
Description
Completion does not work for volumes or container's id/names in ZSH
Steps to reproduce the issue:
docker run -v <TAB>
or
docker exec -it
`Describe the results you received:
Nothing is completed
Describe the results you expected:
I expected to have a list of directories in the current path in the first case, or a list of containers in the second.
Additional information you deem important:
For example, in Bash that works like a charm.
docker run -v <TAB>
will return a list of the directories, meanwhiledocker exec -it <TAB>
will return a list of the containers.Output of
docker version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: