From f0f71505377ef2af5e51ee07b1b054cd83ec3886 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 27 Jun 2017 15:37:14 +0200 Subject: [PATCH] Add bash completion for plugin events Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 79209c2941..a357425e9b 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -4230,13 +4230,16 @@ _docker_system_events() { destroy detach die + disable disconnect + enable exec_create exec_detach exec_start export health_status import + install kill load mount @@ -4245,6 +4248,7 @@ _docker_system_events() { pull push reload + remove rename resize restart @@ -4270,7 +4274,7 @@ _docker_system_events() { return ;; type) - COMPREPLY=( $( compgen -W "container daemon image network volume" -- "${cur##*=}" ) ) + COMPREPLY=( $( compgen -W "container daemon image network plugin volume" -- "${cur##*=}" ) ) return ;; volume)