From 4246469f8bfdfaa62cfe8c6f952e1cfcb7e3143d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Fri, 27 Aug 2021 08:42:05 -0300 Subject: [PATCH] Fill missing commands on name completion. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: EdĂȘnis Freindorfer Azevedo --- config/bash/lxc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/bash/lxc.in b/config/bash/lxc.in index 2115efc63..c93f3d00f 100644 --- a/config/bash/lxc.in +++ b/config/bash/lxc.in @@ -5,12 +5,13 @@ _lxc_names() { lxc-attach | lxc-cgroup | lxc-checkpoint | lxc-console | lxc-device | lxc-freeze | lxc-stop ) COMPREPLY=( $( compgen -W "$( command lxc-ls --active )" -- "$cur" ) ) ;; - lxc-start | lxc-destroy | lxc-execute | lxc-snapshot | lxc-start ) + lxc-destroy | lxc-execute | lxc-snapshot | lxc-start ) COMPREPLY=( $( compgen -W "$( command lxc-ls --stopped )" -- "$cur" ) ) ;; lxc-copy | lxc-info | lxc-monitor | lxc-wait ) COMPREPLY=( $( compgen -W "$( command lxc-ls --defined )" -- "$cur" ) ) ;; + lxc-autostart | lxc-create | lxc-checkconfig | lxc-config | lxc-ls | \ lxc-top | lxc-unshare | lxc-update-config | lxc-usernsexec ) ;; lxc-unfreeze )