]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix `lxc-create` completion.
authorEdênis Freindorfer Azevedo <edenisfa@gmail.com>
Tue, 31 Aug 2021 10:52:03 +0000 (07:52 -0300)
committerEdênis Freindorfer Azevedo <edenisfa@gmail.com>
Wed, 8 Sep 2021 01:23:57 +0000 (22:23 -0300)
Do not append a name of an existing container.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
config/bash/lxc.in

index 8eb2df3f37e0bf822f04090ddac8560f7e3c0263..ea7d53b7082e9fa79f29fa17aefd36ae998dbe32 100644 (file)
@@ -564,7 +564,6 @@ _lxc_create() {
         [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
         return
     fi
-    _lxc_append_name
 }
 complete -F _lxc_create lxc-create