Skip to content

autocompletion not working on windows bash & powershell #1853

@patricklx

Description

@patricklx

its possible to remove the .exe extension to use binaries in windows git bash by specifying shopt -s completion_strip_exe
but bash still calls it with the exe extension. this leads to the issue that the completions are only registerd for the binary.exe and not also for just binary

e.g.: containers/podman#16499

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions