summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-02-27 18:11:25 +0100
committerUlrich Müller <ulm@gentoo.org>2023-02-27 18:11:25 +0100
commit3ac9bf6ea721335a5ad7e6d924cb3a5950a8ac13 (patch)
tree4487d4741aa5004f2fa655ac6a947f1fbe70e659
parentNew global option --eprefix (diff)
downloadeselect-3ac9bf6ea721335a5ad7e6d924cb3a5950a8ac13.tar.gz
eselect-3ac9bf6ea721335a5ad7e6d924cb3a5950a8ac13.tar.bz2
eselect-3ac9bf6ea721335a5ad7e6d924cb3a5950a8ac13.zip
Update option list in bash completion
* misc/eselect.bashcomp (_eselect): Add --eprefix and --root options. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ChangeLog5
-rw-r--r--misc/eselect.bashcomp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b442b8b..141e377 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-02-27 Ulrich Müller <ulm@gentoo.org>
+
+ * misc/eselect.bashcomp (_eselect): Add --eprefix and --root
+ options.
+
2023-02-26 Ulrich Müller <ulm@gentoo.org>
* bin/eselect.in: New global option --eprefix.
diff --git a/misc/eselect.bashcomp b/misc/eselect.bashcomp
index 7e33285..3ef614e 100644
--- a/misc/eselect.bashcomp
+++ b/misc/eselect.bashcomp
@@ -1,5 +1,5 @@
# -*- mode: sh; indent-tabs-mode: nil; -*- vim: set ft=sh tw=80 sw=4 et :
-# Copyright 2005-2020 Gentoo Authors
+# Copyright 2005-2023 Gentoo Authors
# Distributed under the terms of the GNU GPL version 2 or later
# bash command-line completion for eselect
@@ -8,7 +8,7 @@
_eselect() {
local cur sedcmd2 sedcmd3 possibles
- local options="--brief --color= --colour="
+ local options="--brief --color= --colour= --eprefix= --root="
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
sedcmd2='s/^ \([[:alnum:]-][[:alnum:]_-]*\)[[:space:],].*$/\1/p'