From: Hans van Kranenburg Date: Sun, 10 Feb 2019 17:26:45 +0000 (+0100) Subject: tools/xl/bash-completion: also complete 'xen' X-Git-Tag: archive/raspbian/4.11.1+26-g87f51bf366-3+rpi1~1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d3851473daee7e7a8e6772b5a65cd6e9d8653204;p=xen.git tools/xl/bash-completion: also complete 'xen' We have the `xen` alias for xl in Debian, since in the past it was a command that could execute either xl or xm. Now, it always does xl, so, complete the same stuff for it as we have for xl. Signed-off-by: Hans van Kranenburg --- diff --git a/debian/xen-utils-common.links b/debian/xen-utils-common.links index 1ca21a921b..bc0d44ada7 100644 --- a/debian/xen-utils-common.links +++ b/debian/xen-utils-common.links @@ -1 +1,2 @@ usr/share/doc/xen/html usr/share/doc/xen-utils-common/html +usr/share/bash-completion/completions/xl usr/share/bash-completion/completions/xen diff --git a/tools/xl/bash-completion b/tools/xl/bash-completion index b7cd6b3992..a520b07e29 100644 --- a/tools/xl/bash-completion +++ b/tools/xl/bash-completion @@ -17,4 +17,4 @@ _xl() return 0 } -complete -F _xl -o nospace -o default xl +complete -F _xl -o nospace -o default xl xen