| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
These speed-ups include:
* Let compgen do the command substitution. Similar to
https://lists.gnu.org/archive/html/bug-bash/2012-03/msg00115.html
* Use "cut" instead of "awk" for separating fields.
|
|
|
| |
don't need subshell to send stderr to /dev/null
|
|
|
|
|
| |
Note that this is only applicable for when bash_completion is
unavailable.
|
|
|
|
| |
Note: This is only available for bash_completion users.
|
| |
|
| |
|
|
|
|
|
|
| |
Previously completion would not work for ‘ninja -C $HOME/Source/foo targ‸’.
We still do not support using tilde in the directory argument.
|
|
|
|
|
|
|
|
| |
By quoting the ‘line’ variable we are making it a single word, but ‘getopts’ wants each option as its own word.
Previously bash completion would output an error for a line like: ‘ninja -vn targ‸’.
In addition to removing the quotes (to enable word expansion) I also used it as a regular variable, as that is what it is (not an array).
|
| |
|
|
|
|
|
|
| |
Currently ninja bash completion only works in the directory where the
build.ninja files is located. This adds support for using the -C
argument to ninja.
|
|
|