eval "$(podman completion bash)" # Strips .exe for Cygwin with BASHOPTS=completion_strip_exe. __podman_win_fix() { local -a cmd=( $(complete -p podman.exe) ) [[ $? = 0 ]] || return cmd[-1]=podman eval "${cmd[@]}" } __podman_win_fix