12 Commits

Author SHA1 Message Date
Ville Skyttä
2d23a3f47c ant: Rewrite build target parsing in plain bash, add build file test case.
There's no alternation (\|) in POSIX basic regexps which is what POSIX
sed supports.
2011-05-08 15:25:32 +03:00
Ville Skyttä
21c5a0eb9d phing: Reuse ant completion for it, add basic test case. 2011-05-03 09:46:30 +03:00
Ville Skyttä
3e4aadd72d ant: Improve -lib, -find/-s, and -D argument completions. 2011-05-03 09:43:29 +03:00
David Paleino
b25abe601d ant: handle "extension-point" the same as "target" tag (Petr Kozelka, Alioth: #313105) 2011-05-02 16:30:51 +02:00
Ville Skyttä
e2c57c5966 Convert many completions to use _parse_help() instead of hardcoded option lists. 2011-04-28 21:21:31 +03:00
Ville Skyttä
e35eabb791 Avoid some unnecessary commands. 2011-04-26 00:21:55 +03:00
Ville Skyttä
f48d6fb10d Use {x..y} brace expansion instead of `seq', loops, or long literal sequences. 2011-04-26 00:15:03 +03:00
Ville Skyttä
faf8ad159e Use _init_completion() in completions/a*. 2011-04-20 14:18:27 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
94c51fc36e Coding style consistency tweaks. 2011-04-04 23:48:22 +03:00
Ville Skyttä
0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00