From: EdĂȘnis Freindorfer Azevedo Date: Fri, 27 Aug 2021 11:42:05 +0000 (-0300) Subject: Fill missing commands on name completion. X-Git-Tag: lxc-5.0.0~91^2~19 X-Git-Url: https://git.proxmox.com/?p=mirror_lxc.git;a=commitdiff_plain;h=4246469f8bfdfaa62cfe8c6f952e1cfcb7e3143d Fill missing commands on name completion. Signed-off-by: EdĂȘnis Freindorfer Azevedo --- 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 )