]> git.koha-community.org Git - koha.git/commit
Bug 18562: Tab completion in bash
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Jan 2019 12:12:36 +0000 (09:12 -0300)
committerroot <root@f1ebe1bec408>
Mon, 11 Feb 2019 18:30:10 +0000 (18:30 +0000)
commit74b6a659e5ec831e99beaad2f9ce6dad6409a3a0
tree34cb30303d4b21a23ddb3f217e5ed1b30747b055
parent713f873626404e7904bebd0b97dee1d9f67745fc
Bug 18562: Tab completion in bash

This patch adds the fancy tab completion in bash.

To test:
- Run:
  $ source debian/koha-common.bash-completion
  $ sudo koha-sip <tab>
- Play with all the options
=> SUCCESS: The combinations make sense (e.g. only SIP-enabled instances
  are completed for --start, --stop, --restart, -v and --verbose are not
  offered if the other one is already in there, --enable only applies to
  SIP-disabled instances, etc).
- Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
debian/koha-common.bash-completion