[Pkg-xen-devel] [PATCH 11/13] tools/xl/bash-completion: also complete 'xen'

Hans van Kranenburg hans at knorrie.org
Sun Feb 10 23:42:09 GMT 2019


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.
---
 tools/xl/bash-completion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xl/bash-completion b/tools/xl/bash-completion
index 1db0bdc48e..022119a252 100644
--- a/tools/xl/bash-completion
+++ b/tools/xl/bash-completion
@@ -212,6 +212,6 @@ _xl()
         fi
     fi
 } &&
-complete -F _xl xl
+complete -F _xl xl xen
 
 # ex: filetype=sh
-- 
2.20.1




More information about the Pkg-xen-devel mailing list