From 27f861f78554ccc199eaeb22072439d21ac49a45 Mon Sep 17 00:00:00 2001 From: 李俊杰 Date: Mon, 3 Feb 2020 17:34:21 +0800 Subject: Fixed a bug about bash automatically complete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When I input podman start in bash , and then type tab , cannot automatically complete container name , this pr will fix the bug . Signed-off-by: 李俊杰 --- completions/bash/podman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/bash/podman b/completions/bash/podman index d1dcef0a4..10d40a0c9 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -104,7 +104,7 @@ __podman_complete_containers_running() { } __podman_complete_containers_stopped() { - __podman_complete_containers "$@" --filter status=exited + __podman_complete_containers "$@" --all --filter status=exited } __podman_complete_containers_unpauseable() { @@ -2448,7 +2448,7 @@ _podman_start() { COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) ;; *) - __podman_complete_container_names + __podman_complete_containers_stopped ;; esac } -- cgit v1.2.3-54-g00ecf