diff -r bfec97f86dc3 -r 9cf008356bdf .local/share/bash-completion/completions/podman --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.local/share/bash-completion/completions/podman Sun Dec 10 19:15:17 2023 +0200 @@ -0,0 +1,10 @@ +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