1 |
commit: 3ac9bf6ea721335a5ad7e6d924cb3a5950a8ac13 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 17:11:25 2023 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 17:11:25 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=3ac9bf6e |
7 |
|
8 |
Update option list in bash completion |
9 |
|
10 |
* misc/eselect.bashcomp (_eselect): Add --eprefix and --root |
11 |
options. |
12 |
|
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
ChangeLog | 5 +++++ |
16 |
misc/eselect.bashcomp | 4 ++-- |
17 |
2 files changed, 7 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/ChangeLog b/ChangeLog |
20 |
index b442b8b..141e377 100644 |
21 |
--- a/ChangeLog |
22 |
+++ b/ChangeLog |
23 |
@@ -1,3 +1,8 @@ |
24 |
+2023-02-27 Ulrich Müller <ulm@g.o> |
25 |
+ |
26 |
+ * misc/eselect.bashcomp (_eselect): Add --eprefix and --root |
27 |
+ options. |
28 |
+ |
29 |
2023-02-26 Ulrich Müller <ulm@g.o> |
30 |
|
31 |
* bin/eselect.in: New global option --eprefix. |
32 |
|
33 |
diff --git a/misc/eselect.bashcomp b/misc/eselect.bashcomp |
34 |
index 7e33285..3ef614e 100644 |
35 |
--- a/misc/eselect.bashcomp |
36 |
+++ b/misc/eselect.bashcomp |
37 |
@@ -1,5 +1,5 @@ |
38 |
# -*- mode: sh; indent-tabs-mode: nil; -*- vim: set ft=sh tw=80 sw=4 et : |
39 |
-# Copyright 2005-2020 Gentoo Authors |
40 |
+# Copyright 2005-2023 Gentoo Authors |
41 |
# Distributed under the terms of the GNU GPL version 2 or later |
42 |
|
43 |
# bash command-line completion for eselect |
44 |
@@ -8,7 +8,7 @@ |
45 |
|
46 |
_eselect() { |
47 |
local cur sedcmd2 sedcmd3 possibles |
48 |
- local options="--brief --color= --colour=" |
49 |
+ local options="--brief --color= --colour= --eprefix= --root=" |
50 |
COMPREPLY=() |
51 |
cur="${COMP_WORDS[COMP_CWORD]}" |
52 |
sedcmd2='s/^ \([[:alnum:]-][[:alnum:]_-]*\)[[:space:],].*$/\1/p' |