]> git.koha-community.org Git - koha.git/commit
Bug 27839: Add tab-completion in bash for koha-worker
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Mar 2021 18:20:41 +0000 (15:20 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 Apr 2021 12:48:30 +0000 (14:48 +0200)
commitec4952a8c9db4c5269f3f18a8f044e8b383bd7d6
treeaed869be170567a70a4bbdccde407c08072b3966
parent4c4f1a8950b5caa98420eb6b6c94cf38237f2ae2
Bug 27839: Add tab-completion in bash for koha-worker

This patch simply adds tab-completion for this script.

To test:
1. Apply this patch
2. Run:
   $ cp debian/koha-common.bash-completion  /etc/bash_completion.d/koha-common
3. Open a new bash instance
4. Type 'koha-worker <tab>'
=> SUCCESS: All options are there
5. Play with Koha instances
=> SUCCESS: they show up, once chosen they are not offered anymore
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 90291914f9c45cf3c79472b95307ea27ae986412)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/koha-common.bash-completion