Better fix to make cd completions work again

This commit is contained in:
ridiculousfish
2012-05-05 14:33:24 -07:00
parent 3be07cc645
commit ac3dce38f0
2 changed files with 7 additions and 6 deletions

View File

@@ -767,7 +767,7 @@ int parser_t::eval_args( const wchar_t *line, std::vector<completion_t> &args )
expand_flags_t eflags = 0;
if (! show_errors)
eflags |= EXPAND_NO_DESCRIPTIONS;
if (this->parser_type != PARSER_TYPE_GENERAL && this->parser_type != PARSER_TYPE_COMPLETIONS_ONLY)
if (this->parser_type != PARSER_TYPE_GENERAL)
eflags |= EXPAND_SKIP_CMDSUBST;
/*