diff options
author | Andres P <stderr@mail.com> | 2010-05-18 17:56:47 -0430 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-24 21:24:48 -0500 |
commit | 80f7c1707c2b25cbb88120f5d12e7e038beba36c (patch) | |
tree | 0ef0ae4423af969b11fd3d9c6d517915df4970a6 /missing | |
parent | ae73d756607edc8733ddb5facc7066316c34d11f (diff) | |
download | pacman-80f7c1707c2b25cbb88120f5d12e7e038beba36c.tar.xz |
bash_completion : full rewrite with many improvements
* Undeclared local vars with common enough names to warrant breakage
* Performance issues with _pacman trying to replicate /usr/bin/pacman
with find and other slow tools.
* Performance issues with expanding an array (with sometimes hundreds of
items) over three times.
* Expanding said array to remove already completed entries had the side
effect of braking filenames with spaces and or \n.
* add -D --database options and --print
* fix dirs showing up when they shouldn't in completions
* completions regarding database entries shouldn't trigger filename
completion.
This is now down to 106 lines. The original one (master) is 365 lines
long, yet this one retains all functionality.
The work is documented in FS#16630.
Signed-off-by: Andres P <stderr@mail.com>
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions