Fix bug where fish would randomly assume completions are authorative

darcs-hash:20070209093237-ac50b-d6ccbddf652a8307c8fd43406fc0ad059a2ba834.gz
This commit is contained in:
axel 2007-02-09 19:32:37 +10:00
parent 44e8a12b66
commit 31ca1218d4

View file

@ -417,6 +417,7 @@ static complete_entry_t *complete_get_exact_entry( const wchar_t *cmd,
c->cmd = intern( cmd ); c->cmd = intern( cmd );
c->cmd_type = cmd_type; c->cmd_type = cmd_type;
c->short_opt_str = wcsdup(L""); c->short_opt_str = wcsdup(L"");
c->authorative = 1;
} }
return c; return c;