[Koha-bugs] [Bug 14714] koha-mysql tab-completion in bash

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 24 20:47:56 CEST 2015


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41867
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41867&action=edit
Bug 14714: Add tab-completion to koha-mysql command

This patch introduces tab-completion in bash to the koha-mysql
command. It completes using valid instance names. It stops completing
once an instance name is chosen (i.e. it respects the fact that
koha-mysql accepts only one instance name as parameter).

To test:
- Have a packages install (kohadevbox works)
- Run:
  $ . debian/koha-common.bash-completion
- Type
  koha-mysql <tab>
=> SUCCESS: You are prompted valid instance names for completion.
- Sign off :-D

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


More information about the Koha-bugs mailing list