aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-19 17:17:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-19 17:17:19 -0300
commit69441f525dde047ac67d476ede715ed38ac2671f (patch)
tree64d55f41714ddb5522b806835841399e2961faa3
parent0ee3a24aa0accb020645171a8368635ef5b181e6 (diff)
downloadhydra-69441f525dde047ac67d476ede715ed38ac2671f.tar.gz
hydra-69441f525dde047ac67d476ede715ed38ac2671f.tar.bz2
Minor bash completion enhancements
-rw-r--r--lib/hydra/completions/bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hydra/completions/bash b/lib/hydra/completions/bash
index a416c78..b03f666 100644
--- a/lib/hydra/completions/bash
+++ b/lib/hydra/completions/bash
@@ -21,11 +21,16 @@ _hydra() {
# Return the available options
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ [[ $COMPREPLY == */ ]] && compopt -o nospace
return 0
}
_hydractl() {
}
+_hydras() {
+}
+
complete -F _hydra hydra
+complete -F _hydras hydras
complete -F _hydractl hydractl