podman: windows completions not working with shopt -s completion_strip_exe
its possible to remove the .exe extension to use binaries in windows git bash by specifying shopt -s completion_strip_exe but podman is not considering that for the completions.
it registers only podman.exe: complete -o default -F __start_podman.exe podman.exe
it should also inlclude without .exe extension: complete -o default -F __start_podman.exe podman.exe podman.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- fix windows completion resolves #15527, #16499 Signed-off-by: Charlie Doern <cbddoern@gmail.com> — committed to cdoern/podman by cdoern 2 years ago
In the meantime there is this hacky solution to fix completion :
(podman completion powershell | Out-String) -replace "podman.exe", "podman" | Invoke-Expression