Ville Skyttä
69ecdc49d5
Use _init_completion() in completions/l*.
2011-04-20 22:22:51 +03:00
Ville Skyttä
ee43b22f9b
Use += to append to arrays and strings.
...
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä
4e4e300ef1
Add code style settings block.
2011-04-05 22:43:29 +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