summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* helpers/gentoo-common.sh: fix whitespaceSam James2024-02-211-5/+5
| | | | 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>
* Ignore backup prefixed or suffixed files in repos.conf subdirectory.gentoo-bashcomp-20230313Jernej Jakob2023-01-141-1/+1
| | | | | | | | | | Portage ignores any files starting with '.' or ending with '~' in the repos.conf directory. See 'portage.util' function '_recursive_basename_filter'. Closes: https://bugs.gentoo.org/730624 Signed-off-by: Sam James <sam@gentoo.org>
* Revert "ignore non conf files in /etc/portage/repos.conf."Jernej Jakob2023-01-141-2/+2
| | | | | | | | | | This reverts commit f3f401b1166bb3d7f79b9f3cb8ebfc3527cd4394. The commit introduced behavior that was not consistent with portage, which parses all files in the repos.conf directory not starting with '.' or ending with '~', regardless if they end with '.conf' or not. 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>
* ignore non conf files in /etc/portage/repos.conf.redneb2021-11-161-2/+2
| | | | | | | | | | | | | | portage ignores any file in /etc/portage/repos.conf/ (when that is in fact a directory) that does not have a name of the form "*.conf". gentoo-bashcomp should emulate the behavior of portage. Otherwise you might run into issues: e.g. if there is a backup of eselect-repo.conf called eselect-repo.conf~ that contains references to a now removed overlay, gentoo-bashcomp should not try to search for completions in the now nonexistent repo directory Closes: https://github.com/gentoo/gentoo-bashcomp/pull/5 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* fix repos.conf files pattern matching.gentoo-bashcomp-20190211Patrice Clement2019-02-111-1/+1
| | | | | | | Courtesy of Duncan <1i5t5.duncan@cox.net>. Closes: https://bugs.gentoo.org/562626 Signed-off-by: Patrice Clement <monsieurp@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
* Makefile: introduce a new 'install' rule.gentoo-bashcomp-20140911Michał Górny2014-08-311-0/+31
| | | | That handles proper install paths and substitutions.
* Split completions by completed command.Michał Górny2014-08-3122-1652/+1788
|
* Split common functions out of completions.Michał Górny2014-08-312-389/+396
| | | | | 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-314-0/+0
| | | | | completions/ for files going to completionsdir, compat/ for those going into compatdir.
* Makefile: remove the outdated install target temporarily.Michał Górny2014-08-311-9/+0
| | | | | It is just wrong, so there is no point in keeping it for now. I will write new rules after refactoring the code.
* Style and performance improvements based on suggestions by Steven J. Long.Ryan Hill2013-08-121-29/+28
|
* Fix whitespace.Ryan Hill2013-08-121-72/+72
|
* Credit Alexander.gentoo-bashcomp-20130804Ryan Hill2013-08-041-0/+3
|
* Add support for repos.conf (bug #478444).Ryan Hill2013-08-041-15/+94
| | | | | | Newer portage versions use repos.conf to set paths to different repos rather than PORTDIR/PORTDIR_OVERLAY. This adds a parser for these ini-style config files.
* Support bash-completion-2.1 (bug #477024).Alexander Tsoy2013-07-294-136/+87
| | | | | | | - Do not use deprecated have() function. - Move gentoo_style_init completion in separate file. It doesn't support dynamic loading so it should be installed in compatdir. - Cleanup spaces at the end of lines.
* Make layman completion work again.Ryan Hill2012-11-021-48/+45
| | | | | | Sometime in the last three years the output of layman changed and broke the overlay parsing. Also updated options, fixed handling of opts containing "=" with bash-4, and cleaned up a bunch of stuff.
* Create annotated tags.gentoo-bashcomp-20121024Ryan Hill2012-10-231-2/+2
|
* Add myself to AUTHORS.Ryan Hill2012-10-231-0/+1
|
* Remove debugging variable.Ryan Hill2012-10-231-1/+0
| | | | https://bugs.gentoo.org/show_bug.cgi?id=431578#c2
* Clean up metagen completion.Ryan Hill2012-10-211-19/+15
|
* Add modelines and retab.Ryan Hill2012-10-213-201/+200
|
* Rewrite repoman completion.Ryan Hill2012-10-211-15/+45
| | | | | | | | - use _parse_help rather than a hardcoded list of options - use _get_comp_words_by_ref and _split_longopt for proper handling of options requiring arguments - fix --commitmsgfile to complete on filenames - add proper completions for --mode and --vcs
* Add support for md5 cache format (bug #431576).Ryan Hill2012-10-101-51/+70
| | | | | | | | | (Based on a patch by Jacek Sowiński) Now that the main portage tree is using the md5-cache format by default we need to be sure we're checking both locations. Also clean up some bad indentation and useless line continuations.
* Add support for /etc/portage/make.conf (bug #424777).Ryan Hill2012-10-081-0/+1
|
* Source /usr/share/portage/config/make.globals directly (bug #431034).Ryan Hill2012-10-081-1/+1
| | | | | As of portage-2.1.11.10/2.2.0_alpha121 the /etc/make.globals symlink no longer exists (see bug #427862).
* Add a basic gitignore.Ryan Hill2012-10-071-0/+11
|
* Added a completion function for epkginfo.atlaua2012-05-061-8/+41
| | | | | epkginfo is just a shortcut for equery meta, so I reused the code for that.
* Check options in `equery list` further than just in $prevJacek Sowiński2012-04-241-9/+6
| | | | | --HG-- extra : source : e6a0424d3176b724b00098f21973e76e10cc6405
* Proper calling of _pkgname() in `equery list`Jacek Sowiński2012-04-241-5/+5
|
* Preliminary support for `equery keywords`Jacek Sowiński2012-04-241-4/+16
| | | | | --HG-- extra : source : a29f54778b77d71486990ff8130848ebbd02acc5
* Completion for `equery has` optionsJacek Sowiński2012-04-241-1/+5
| | | | | --HG-- extra : source : 61ccc1fd1399c57af02ffc5489c55261c043d418
* Update equery module list drop 'glsa' and 'stats' add 'has' and 'keywords'Jacek Sowiński2012-04-241-3/+3
| | | | | --HG-- extra : source : e2d4bcca497f4d1cde9825e1b75db31df5234292
* Completion for `equery changes` 1. There is inconsitency in output of ↵Jacek Sowiński2012-04-241-1/+20
| | | | | | | `equery changes --help`: * "Usage" and "examples" give different order of args. * In "Usage" it is: [options] pkgspec * In "examples" it is: pkgspec [options] 2. I chose "examples" approach so: * `equery c <TAB><TAB>` will complete pkgspec * `equery c -<TAB><TAB>` will complete -h and --help * `equery c pkgspec <TAB><TAB>` will complete other options --HG-- extra : source : 1476935140c182f435d6de80dab035a931d5edb6
* Fix completion for `equery belongs`Jacek Sowiński2012-04-241-25/+11
| | | | | | | | | | | 1. Remove -c and --category options as they are not present in `equery belongs --help` output. 2. Make code indentation more readable. 3. "Only complete if the previous entry on the command line is not a file name." now works properly also with options. --HG-- extra : source : 9f755f92ba552dcd20d20e473ff6cf5848c27e9e
* Update options completion for majority of equery modulesJacek Sowiński2012-04-241-8/+16
| | | | belongs, check, depends, depgraph, files, list, size
* #350179 fix the completion for 'uses' and 'which' modules of equeryJacek Sowiński2012-04-241-5/+26
| | | | | | - fix pkgspec completion - separate completion for these modules, as they have another sets of options
* Make the dist and tag target git compatibleChristian Ruppert2012-02-151-9/+9
|
* bug 311441: fix revdep-rebuild completion, by Martin von Gagerngentoo-bashcomp-20101217Jeremy Olexa2010-12-171-59/+16
| | | | svn path=/trunk/; revision=104
* bug 327953: better completion for the ebuild command, by Martin von GagernJeremy Olexa2010-12-121-2/+2
| | | | svn path=/trunk/; revision=103