aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bazel-complete-template.bash
Commit message (Collapse)AuthorAge
* Enable auto-completion for the "ibazel" commandGravatar Martin Probst2017-11-29
| | | | | | | | | | ibazel implements a the same command line interface as bazel, so we can just use the same completion function. See https://github.com/bazelbuild/bazel-watcher. Closes #4091. PiperOrigin-RevId: 177282217
* Support BUILD.bazel in the autocomplete scriptGravatar Ian Cottrell2017-08-24
| | | | | | | | This adds support for BUILD.bazel in the bash auto completion script. Closes #3604. PiperOrigin-RevId: 166317130
* Properly avoid aliases when invoking grep. Using $(which grep) instead of ↵Gravatar Googler2016-09-07
| | | | | | | | | plain grep does not avoid alias interference, it merely trades problems when "grep" is an alias for problems when "which" is an alias (both are commonly defined as aliases). A more reliable way to turn off alias expansion is to simply quote the command name, which is what I'm doing here. -- MOS_MIGRATED_REVID=132338563
* Use path given by which to invoke grep to bypass aliases set by the userGravatar Damien Martin-Guillerez2016-08-23
| | | | | | | | | If the user had an alias grep='grep --color=always' it would break the bash completion, outputting the formatting character. Bypass the user alias to avoid the effect. -- MOS_MIGRATED_REVID=131040601
* Fix bash auto-completion for aliasesGravatar Damien Martin-Guillerez2016-07-22
| | | | | | | | | The label pattern was incorrectly passed around (the command was not translated into a target pattern) which resulted in the target not being completed. -- MOS_MIGRATED_REVID=128177563
* --Gravatar Jon Brandvein2016-07-21
| | | | MOS_MIGRATED_REVID=128060563
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Open-source Bazel bash completion scriptGravatar Damien Martin-Guillerez2015-04-10
This script enable shell completion for Bazel inside the Bourne-again shell. Fixes #38 -- MOS_MIGRATED_REVID=90745457