Zsh completion for docker-compose#1325
Zsh completion for docker-compose#1325bfirsh merged 2 commits intodocker:masterfrom sdurrheimer:master
Conversation
|
Anyone ? 😕 |
|
Thanks for this! I'm going to have a look at it soon - I'll be its first customer. Can any of the bash and zsh completion be factored out to a common set of functions? |
|
Some of them might be, but this will make the installation process more complex forcing people to install 2 files (not in the same directory). This will therefore create a dependency of a file to another. Maybe @albers can also give us his opinion. |
|
Cool, zsh completion finally arrived. Thanks @sdurrheimer! I'm not familiar with either using or coding zsh completion, but looking at the code I see a lot of potential for shared code. I like the idea to create a shared lib in order to bundle the efforts for both completions. But I also share sdurrheimers concerns about the increased complexity of the installation process. Where should the shared lib be placed? People will run into problems with file permissions. More important, I'm not in favour of creating a shared lib unless there are tests. Summing up, I'm against the shared lib. |
|
Needs a rebase - sorry @sdurrheimer. :( |
|
@sdurrheimer |
There was a problem hiding this comment.
Nice idea to compute the URL here. Please adjust the Release process section in CONTRIBUTING.md. It says the script URL should be updated.
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
|
I just added --x-smart-recreate and -v. Thx @albers. |
|
LGTM I've given this a quick try and I like it a lot. Would be nice to get it in for 1.7, but I don't know if it should count as code for the purposes of "code freeze" - which was three days ago. |
|
Naah it's tooling. The code freeze is for features. |
|
LGTM |
Zsh completion for docker-compose
This is an important point for me. Although I try to keep up with new features that are relevant for completion, I always end up with finding some in the release notes of the RC. cc @jfrazelle @tianon - also applies to Docker completion. |
Zsh completion for docker-compose (cherry picked from commit b638728) Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> Conflicts: docs/completion.md
|
I know I'm late to the discussion (:innocent:), but I'm definitely +1 to including fixes and improvements to things like completion even after code freeze since it makes for a more polished release overall. :+1: |

Here my work on a zsh completion script with updated completion.md doc.
Signed-off-by: Steve Durrheimer s.durrheimer@gmail.com