diff options
-rw-r--r-- | lib/hydra/completions/bash | 5 |
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 |