File: 0019-tools-xl-bash-completion-also-complete-xen.patch

package info (click to toggle)
xen 4.20.2%2B7-g1badcf5035-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 39,188 kB
  • sloc: ansic: 540,584; asm: 9,156; python: 7,990; sh: 7,692; makefile: 6,650; ml: 5,544; perl: 4,187; cpp: 1,885; lex: 828; yacc: 645; pascal: 533; awk: 274; xml: 51; exp: 47; sed: 4
file content (27 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Hans van Kranenburg <hans@knorrie.org>
Date: Sun, 10 Feb 2019 18:26:45 +0100
Subject: 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 <hans@knorrie.org>

[git-debrebase split: mixed commit: upstream part]
---
 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 7c6ed32..b3883df 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