Skip to content
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

Docker completion missing in 4.9.1? #3689

Closed
kbd opened this issue Jun 24, 2022 · 2 comments
Closed

Docker completion missing in 4.9.1? #3689

kbd opened this issue Jun 24, 2022 · 2 comments

Comments

@kbd
Copy link

kbd commented Jun 24, 2022

Just took the auto-update from Docker Desktop (Mac) to 4.9.1 (81317) and now completion is broken.

Getting:

compinit:527: no such file or directory: /usr/local/share/zsh/site-functions/_docker

I had previously followed the instructions to set up Zsh completion here: https://docs.docker.com/desktop/mac/#zsh

etc=/Applications/Docker.app/Contents/Resources/etc
ln -s $etc/docker.zsh-completion /usr/local/share/zsh/site-functions/_docker
ln -s $etc/docker-compose.zsh-completion /usr/local/share/zsh/site-functions/_docker-compose

Looks like the docker.zsh-completion file is missing in this version?

$ ls /Applications/Docker.app/Contents/Resources/etc
_docker*  docker-compose.bash-completion*  docker-compose.zsh-completion
docker*   docker-compose.fish-completion   docker.fish*
@nicks
Copy link
Contributor

nicks commented Jun 24, 2022

thanks for the report! ya, this is a regression, we have a fix for it in the next release. Please follow along here - docker/for-mac#6343

@thaJeztah
Copy link
Member

let me close this one in favour of docker/for-mac#6343 as it's specific to Docker Desktop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants