Skip to content

Commit 17824f6

Browse files
committed
Merge branch 'duncan3dc-master' into refactor
2 parents c640527 + c160d17 commit 17824f6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Stecman/Component/Symfony/Console/BashCompletion/CompletionHandler.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,13 @@ function $funcName {
397397
exit $?;
398398
fi;
399399
400-
COMPREPLY=(`compgen -W "\$RESULT"`);
400+
local cur;
401+
_get_comp_words_by_ref -n : cur;
402+
403+
COMPREPLY=(`compgen -W "\$RESULT" -- \$cur`);
404+
405+
__ltrim_colon_completions "\$cur";
406+
401407
};
402408
complete -F $funcName $programName;
403409
END;

0 commit comments

Comments
 (0)