-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bash tab completion doesn't work if you specify arguments/options #9730
Comments
@Luap99 PTAL |
This is a know bug in the cobra library. I have opened a PR spf13/cobra#1258 to fix this this but unfortunately it is not merged yet. I know this is annoying. As a workaround I recommend using |
I'll assign @Luap99 so he remembers to close this whenever that Cobra issue closes. Speaking of, we really need to get more attention on the Cobra PRs he has open. |
@Luap99 PTAL |
spf13/cobra#1258 has been merged upstream. A new cobra release is following soon (spf13/cobra#1388). Once this is done we can update podman. |
A friendly reminder that this issue had no activity for 30 days. |
Still waiting for a new cobra release. |
@Luap99 any idea when this is going to happen? Is there someone we should nag? |
Hopefully soon, see spf13/cobra#1388 |
Fixes containers#9730 Signed-off-by: Paul Holzinger <[email protected]>
Fixes containers#9730 Signed-off-by: Paul Holzinger <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Bash tab completion works for the most part in podman, but if you have an argument or option flags, it breaks the completion. Take
podman exec
for example.podman exec <tab>
works, butpodman exec -it <tab>
does not.Docker does successfully tab with arguments (like
docker exec -it <tab>
). This might seem harmless, but does make rapid development a little more difficult as I usepodman exec -it container bash
a lot to jump into my containers.Steps to reproduce the issue:
podman exec -it <tab>
Describe the results you received:
It auto completes to the normal bash filesystem
Describe the results you expected:
A listing of the available containers just like
podman exec <tab>
Additional information you deem important (e.g. issue happens only occasionally):
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?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: