madsmith / bash-completion-lib

Automatically exported from code.google.com/p/bash-completion-lib
GNU General Public License v2.0
0 stars 0 forks source link

There's no way to extend `bash-completion-lib' with local completions #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to define my own completions in a separate directory and let
bash-completion-lib search this 'extension' directory as well.  This way I
would be able to remove and install new versions of bash-completion-lib
without reinstalling my own completions every time.

Maybe $COMP_LIB can become an array variable and bash-completion-lib could
examine all of ${COMP_LIB[@]} for completions?

Original issue reported on code.google.com by fvu...@gmail.com on 3 Jul 2008 at 7:19

GoogleCodeExporter commented 8 years ago
COMP_LIB is now an array variabele and defaults to $COMP_DIR/completions +
$HOME/.bash_completion_lib.d/completions.  Spaces in directories are allowed.
Wrote three tests to check this behaviour: ./runInstall compLib.exp
Fixed in r40

Original comment by fvu...@gmail.com on 1 Aug 2008 at 7:50