completions: Fix completions after the first command.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Tue, 24 Mar 2015 16:13:20 +0000 (17:13 +0100)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Tue, 24 Mar 2015 16:13:20 +0000 (17:13 +0100)
data/completions/ges-launch-1.0

index 14b3655..02ea495 100644 (file)
@@ -175,6 +175,8 @@ __ges_main ()
 
        if [[ "$cur" == "-"* ]]; then
                _ges_list_options
+       elif [[ "$cur" == "+"* ]]; then
+               _ges_list_commands
        elif [[ "$cur" == "="* ]]
        then
                _mandatory__argument