Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 902109

Summary: app-containers/docker-cli-23.0.1 shell completions needs to be updated
Product: Gentoo Linux Reporter: Alex Efros <powerman-asdf>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: UNCONFIRMED ---    
Severity: normal CC: gyakovlev, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Efros 2023-03-19 07:41:56 UTC
There were a long story related to broken shell completions because of replacing `docker-compose` (which had completions) with `docker compose` (which doesn't had completions because of docker plugin architecture), but finally this really annoying issue was resolved in latest versions.
The problem is current ebuild does not install latest completions, thus (at least in zsh) `docker compose <Tab>` still doesn't work.

The workaround is to run `docker completion zsh > ~/.zsh/completions/_docker`, but docker-cli ebuild should install this into /usr/share/zsh/site-functions/_docker (and probably do the same for bash/fish too).
Comment 1 Alex Efros 2023-03-19 07:43:59 UTC
One thing is I'm unsure is this works even if docker installed before docker-compose:2, probably worth to test.