Enable shell-candidates update in fast completion mode

This commit is contained in:
Maxime Coste 2016-08-30 00:55:01 +01:00
parent f52f5f7c53
commit f6cb6319d6

View File

@ -883,9 +883,6 @@ void define_command(const ParametersParser& parser, Context& context, const Shel
if (token != token_to_complete) if (token != token_to_complete)
{ {
if (flags & CompletionFlags::Fast) // no shell on fast completion
return Completions{};
ShellContext shell_context{ ShellContext shell_context{
params, params,
{ { "token_to_complete", to_string(token_to_complete) } } { { "token_to_complete", to_string(token_to_complete) } }