The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4282
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Inside snaps, bash completion snippets run for the _unaliased_ command. That means that the completion needs to be looking for `lxd.lxc`, not just `lxc`. Fortunately you can ask for both, so it's an easy tweak (and people are very unlikely to have an unrelated `lxd.lxc` command lying around with different completion).
From 34962ae31d0a79979f407561415b7b36c4aa9777 Mon Sep 17 00:00:00 2001 From: "John R. Lenton" <[email protected]> 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 }
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
