.local/share/bash-completion/completions/podman
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 10 Dec 2023 19:15:17 +0200
changeset 1032 9cf008356bdf
child 1033 8d13ffe12bd6
permissions -rw-r--r--
Dynamically build completion for podman.

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