[lxc-devel] [lxd/master] scripts/bash: tweak complete line for snaps

chipaca on Github lxc-bot at linuxcontainers.org
Sat Feb 24 19:33:05 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 620 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180224/53b7eb17/attachment.bin>
-------------- next part --------------
From 34962ae31d0a79979f407561415b7b36c4aa9777 Mon Sep 17 00:00:00 2001
From: "John R. Lenton" <jlenton at gmail.com>
Date: Sat, 24 Feb 2018 19:31:01 +0000
Subject: [PATCH] scripts/bash: tweak complete line for snaps

---
 scripts/bash/lxd-client | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bash/lxd-client b/scripts/bash/lxd-client
index 43e058383..cf830a2e3 100644
--- a/scripts/bash/lxd-client
+++ b/scripts/bash/lxd-client
@@ -332,5 +332,5 @@ _have lxc && {
     return 0
   }
 
-  complete -o default -F _lxd_complete lxc
+  complete -o default -F _lxd_complete lxc lxd.lxc
 }


More information about the lxc-devel mailing list