Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902109 - app-containers/docker-cli-23.0.1 shell completions needs to be updated
Summary: app-containers/docker-cli-23.0.1 shell completions needs to be updated
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 07:41 UTC by Alex Efros
Modified: 2023-03-19 22:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.