mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
scripts/bash/lxd-client: fix autocompletion not working
Autocompletion of commands for running guests which are in a state other than RUNNING doesn't work. This change adds READY so now, autocompletion in lxc shell, lxc stop, lxc exec, work as expected Signed-off-by: Norberto Bensa <nbensa@gmail.com>
This commit is contained in:
parent
153ad923e4
commit
229a643daa
@ -243,7 +243,7 @@ _have lxc && {
|
||||
_lxd_names "(STOPPED|FROZEN)"
|
||||
;;
|
||||
"exec"|"console"|"stop"|"shell")
|
||||
_lxd_names "RUNNING"
|
||||
_lxd_names "RUNNING|READY"
|
||||
;;
|
||||
"file")
|
||||
COMPREPLY=( $(compgen -W "pull push edit delete mount" -- $cur) )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user