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

package info (click to toggle)
xen 4.17.5%2B72-g01140da4e8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 37,348 kB
  • sloc: ansic: 520,900; asm: 8,367; python: 7,305; makefile: 6,584; sh: 6,319; ml: 5,404; perl: 4,368; cpp: 1,885; lex: 825; yacc: 645; pascal: 531; awk: 274; exp: 33; sed: 4
file content (27 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (5)
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