commit: a7513c33fc3744c7664c8c6c9c3c1bb22f0b0ab9 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> AuthorDate: Sat Nov 5 23:16:06 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 14 16:38:46 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/commit/?id=a7513c33
emerge: add support for --deselect Signed-off-by: Louis Sautier <sautier.louis <AT> gmail.com> Closes: https://github.com/gentoo/gentoo-bashcomp/pull/6 Signed-off-by: Sam James <sam <AT> gentoo.org> completions/emerge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/emerge b/completions/emerge index 03cc503..e84a7fc 100644 --- a/completions/emerge +++ b/completions/emerge @@ -35,7 +35,7 @@ _emerge() # find action for x in ${COMP_LINE} ; do if [[ ${x} =~ ^(system|world)$ ]] || [[ ${x} =~ -[CPcs] ]] || \ - [[ ${x} =~ --(clean|config|depclean|info|metadata|prune|rage-clean|regen|resume|search|sync|unmerge) ]] + [[ ${x} =~ --(clean|config|depclean|deselect|info|metadata|prune|rage-clean|regen|resume|search|sync|unmerge) ]] then action=${x} break @@ -96,7 +96,7 @@ _emerge() --ask --autounmask-write \ --buildpkg --buildpkgonly \ --changelog --clean --color=y --color=n --columns --complete-graph --config \ - --debug --deep --depclean \ + --debug --deep --depclean --deselect \ --emptytree \ --fetch-all-uri --fetchonly \ --getbinpkg --getbinpkgonly \
