]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Apr 2021 13:27:50 +0000 (15:27 +0200)
commit90291914f9c45cf3c79472b95307ea27ae986412
tree51c033db8901257c3fe9817513accfb9ad3e72e9
parent14d843f5f4822e590593536711e0991c35ea37db
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>
debian/koha-common.bash-completion