[Koha-bugs] [Bug 14727] koha-indexer tab completion in bash

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 25 17:22:08 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14727

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41933
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41933&action=edit
Bug 14727: koha-indexer tab completion in bash

This patch introduces tab-completion in bash to the koha-indexer
command. It completes using valid option switches and instance names.
It stops completing then -h or --help are issued, and once a command
switch is chosen (either --start, --stop or --restart) it goes ahead
with valid instances completion.

To test:
- Have a packages install (kohadevbox works)
- Run:
  $ . debian/koha-common.bash-completion
- Type
  koha-indexer <tab>
- Play with all the options
=> SUCCESS: They work as they should.
- Sign off :-D

Note: it fixes a small glitch on the plack completion.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list