summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add completion for quickpkgHEADgentoo-bashcomp-20240625masterArthur Zamarin2024-06-251-0/+39
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for binutils-configArthur Zamarin2024-06-071-0/+45
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* gcc-config: fix invalid suggestions & add missing flagsArthur Zamarin2024-06-071-22/+26
| | | | | | | It was using the colored output and the "*" as completion options, which was causing weird suggestions. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for perl-cleaner from app-admin/perl-cleanerArthur Zamarin2024-05-271-0/+41
| | | | | | | Based on code from Michal Privoznik <michal.privoznik@gmail.com> Closes: https://github.com/gentoo-perl/perl-cleaner/pull/10 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ebuild: fix, refactor and update completionArthur Zamarin2024-05-221-17/+18
| | | | | Closes: https://bugs.gentoo.org/403123 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* glsa-check: add missing argsArthur Zamarin2024-05-221-10/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for eshowkw from app-portage/gentoolkitArthur Zamarin2024-05-211-0/+45
| | | | | Closes: https://bugs.gentoo.org/426570 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* layman: optimize speedArthur Zamarin2024-05-211-12/+14
| | | | | Closes: https://bugs.gentoo.org/526614 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* emerge: use array for opts & format the codeArthur Zamarin2024-05-211-71/+73
| | | | | Closes: https://bugs.gentoo.org/924830 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* update completion of emergeArthur Zamarin2024-05-211-14/+19
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for emaint from sys-apps/portageArthur Zamarin2024-05-151-0/+77
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qkeyword from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+37
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qsearch from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+36
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qwhich from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+49
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qsize from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+41
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qdepends from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+49
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qfile from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+45
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for qlist from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+42
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add completion for q from app-portage/portage-utilsArthur Zamarin2024-05-151-0/+52
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix copyright holder to Gentoo AuthorsArthur Zamarin2024-05-1219-19/+19
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* portageq envvar: fix variables selected for completionLucio Sauer2024-05-111-1/+1
| | | | | | | | | | | | | | | With lines like VAR="foo" BAZ="1 2 3", \(.*\)=".*$ not only matches VAR, but also VAR="foo" BAZ. This applies at line ^USE=.*, where the regular USE flags are followed by a list of all present USE_EXPAND variables together with their respective values. The current sed invocation also ignores environment variables that start with a lowercase letter, such as gl_cv_compiler_check_decl_option. Closes: https://bugs.gentoo.org/931671 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
* portageq envvar: preserve PATH to avoid command validation warningsLucio Sauer2024-05-111-1/+1
| | | | | | | | | | | | | | | Some of Portage's environment variables undergo command validation. When one is set to a relative value, Portage relies on PATH to find the binary. We need to preserve it after purging the environment (`env -i`) if we want to avoid "<key> is invalid: <value>" warnings. For Portage 3.0.63, this affects PORTAGE_{B{,UN}ZIP2_COMMAND,LOG_FILTER_FILE_CMD}. Bug: https://bugs.gentoo.org/588642 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: fix indentationSam James2024-02-251-9/+9
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: add various further optionsSam James2024-02-211-1/+14
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: add --changed-* optionsSam James2024-02-211-0/+1
| | | | | | | | | * --changed-deps * --changed-deps-report * --changed-slot * --changed-use Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: add --with-test-depsSam James2024-02-211-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: add --verbose-conflictsSam James2024-02-211-1/+1
| | | | | Bug: https://bugs.gentoo.org/924830 Signed-off-by: Sam James <sam@gentoo.org>
* completions/emerge: add additional optionsSam James2023-03-131-3/+3
| | | | | | | | | | | Adds the following: - --autounmask-keep-keywords - --autounmask-continue - --onlydeps-with-ideps - --onlydeps-with-rdeps - --update-if-installed Signed-off-by: Sam James <sam@gentoo.org>
* emerge: add support for --deselectLouis Sautier2023-01-141-2/+2
| | | | | | Signed-off-by: Louis Sautier <sautier.louis@gmail.com> Closes: https://github.com/gentoo/gentoo-bashcomp/pull/6 Signed-off-by: Sam James <sam@gentoo.org>
* emerge: add support for sets completion.gentoo-bashcomp-20180624Louis Sautier2018-06-241-0/+6
| | | | | | | | | | Based on Marco Genasci's patch and slightly modified to get rid of the unnecessary call to xargs. Courtesy of Marco Genasci <fedeliallalinea@gmail.com>. Closes: https://bugs.gentoo.org/235454 Closes: https://github.com/gentoo/gentoo-bashcomp/pull/4
* Remove OpenRC completions since they are provided upstreamgentoo-bashcomp-20180302William Hubbs2018-03-024-200/+0
|
* add completion for emerge --rage-cleanLouis Sautier2018-03-021-3/+3
| | | | | | This PR adds the --rage-clean option. Closes: https://github.com/gentoo/gentoo-bashcomp/pull/2
* Add completion for emerge --autounmask-writeLouis Sautier2018-03-021-1/+2
| | | | Closes: https://github.com/gentoo/gentoo-bashcomp/pull/1
* Split completions by completed command.Michał Górny2014-08-3122-1652/+1788
|
* Split common functions out of completions.Michał Górny2014-08-311-389/+1
| | | | | The goal is to install the reusable functions in helpersdir from where they can be reused by other completions.
* Move completions into subdirectories.Michał Górny2014-08-313-0/+2175
completions/ for files going to completionsdir, compat/ for those going into compatdir.