Fill missing commands on name completion.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
This commit is contained in:
Edênis Freindorfer Azevedo 2021-08-27 08:42:05 -03:00
parent 074c356087
commit 4246469f8b
No known key found for this signature in database
GPG Key ID: F7F1907D677FB8C9

View File

@ -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 )