]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Feb 2019 13:06:07 +0000 (13:06 +0000)
commit84052899398043f8dc29df0f6631ce7e5fd04f50
tree7031bce5b5d04a8ee716d6bb69b39008639f8a1d
parent8f18b5499c1a5698c6ecca18566cb4ef38442379
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>
(cherry picked from commit 74b6a659e5ec831e99beaad2f9ce6dad6409a3a0)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/koha-common.bash-completion