.local/share/bash-completion/completions/podman
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 16 Dec 2023 18:07:34 +0200
changeset 1038 79c56b8fb8e0
parent 1033 8d13ffe12bd6
permissions -rw-r--r--
Moved Bash completion for "hgsync" to "utils" module.

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
unset -f __podman_win_fix