bash completion: image/container name is not completed when options are grouped #11024
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Image/container names are not completed, or available options are not offered, when hitting TAB after
podman run|exec -it
in a bash shell.Steps to reproduce the issue:
podman pull fedora
podman run -it fedo<TAB>
Describe the results you received:
The image name is not completed, or if there are multiple options to complete, the available ones are not displayed.
Describe the results you expected:
To complete the image name to
fedora
or display the available completion options.Additional information you deem important (e.g. issue happens only occasionally):
Spelling the flags separately makes completion work as expected. Ie:
podman run|exec -i -t <TAB>
works.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes. 3.2.2 and 3.2.1 also has this issue.
Additional environment details (AWS, VirtualBox, physical, etc.):
physical
The text was updated successfully, but these errors were encountered: